{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback-sdk-angular-cli/issues/16","labels_url":"https://api.github.com/repos/strongloop/loopback-sdk-angular-cli/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback-sdk-angular-cli/issues/16/comments","events_url":"https://api.github.com/repos/strongloop/loopback-sdk-angular-cli/issues/16/events","html_url":"https://github.com/strongloop/loopback-sdk-angular-cli/issues/16","id":52311418,"number":16,"title":"Polymorphic relations","user":{"login":"trolleycrash","id":4126761,"avatar_url":"https://avatars.githubusercontent.com/u/4126761?v=3","gravatar_id":"","url":"https://api.github.com/users/trolleycrash","html_url":"https://github.com/trolleycrash","followers_url":"https://api.github.com/users/trolleycrash/followers","following_url":"https://api.github.com/users/trolleycrash/following{/other_user}","gists_url":"https://api.github.com/users/trolleycrash/gists{/gist_id}","starred_url":"https://api.github.com/users/trolleycrash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trolleycrash/subscriptions","organizations_url":"https://api.github.com/users/trolleycrash/orgs","repos_url":"https://api.github.com/users/trolleycrash/repos","events_url":"https://api.github.com/users/trolleycrash/events{/privacy}","received_events_url":"https://api.github.com/users/trolleycrash/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/loopback-sdk-angular-cli/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-18T00:31:56Z","updated_at":"2015-02-12T14:47:14Z","closed_at":null,"body":"It seems as though lb-ng is having trouble with polymorphic relations.  It echoes:\r\n\r\n`Warning: scope Picture.imageable is missing _targetClass property.\r\nThe Angular code for this scope won't be generated.\r\nPlease upgrade to the latest version of\r\nloopback-datasource-juggler to fix the problem.`\r\n\r\nUpdating loopback-datasource-juggler does not fix the problem, incidentally.\r\n"},"comment":{"url":"https://api.github.com/repos/strongloop/loopback-sdk-angular-cli/issues/comments/74082001","html_url":"https://github.com/strongloop/loopback-sdk-angular-cli/issues/16#issuecomment-74082001","issue_url":"https://api.github.com/repos/strongloop/loopback-sdk-angular-cli/issues/16","id":74082001,"user":{"login":"trolleycrash","id":4126761,"avatar_url":"https://avatars.githubusercontent.com/u/4126761?v=3","gravatar_id":"","url":"https://api.github.com/users/trolleycrash","html_url":"https://github.com/trolleycrash","followers_url":"https://api.github.com/users/trolleycrash/followers","following_url":"https://api.github.com/users/trolleycrash/following{/other_user}","gists_url":"https://api.github.com/users/trolleycrash/gists{/gist_id}","starred_url":"https://api.github.com/users/trolleycrash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trolleycrash/subscriptions","organizations_url":"https://api.github.com/users/trolleycrash/orgs","repos_url":"https://api.github.com/users/trolleycrash/repos","events_url":"https://api.github.com/users/trolleycrash/events{/privacy}","received_events_url":"https://api.github.com/users/trolleycrash/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T14:47:13Z","updated_at":"2015-02-12T14:47:13Z","body":"Has there been any insight into this issue @bajtos? I would hate to see it get cleaned up in the triage."}}