{"action":"created","issue":{"url":"https://api.github.com/repos/mean-expert-official/loopback-sdk-builder/issues/290","repository_url":"https://api.github.com/repos/mean-expert-official/loopback-sdk-builder","labels_url":"https://api.github.com/repos/mean-expert-official/loopback-sdk-builder/issues/290/labels{/name}","comments_url":"https://api.github.com/repos/mean-expert-official/loopback-sdk-builder/issues/290/comments","events_url":"https://api.github.com/repos/mean-expert-official/loopback-sdk-builder/issues/290/events","html_url":"https://github.com/mean-expert-official/loopback-sdk-builder/issues/290","id":198235192,"number":290,"title":"Getting AccessToken Error","user":{"login":"Ellipizle","id":15185295,"avatar_url":"https://avatars.githubusercontent.com/u/15185295?v=3","gravatar_id":"","url":"https://api.github.com/users/Ellipizle","html_url":"https://github.com/Ellipizle","followers_url":"https://api.github.com/users/Ellipizle/followers","following_url":"https://api.github.com/users/Ellipizle/following{/other_user}","gists_url":"https://api.github.com/users/Ellipizle/gists{/gist_id}","starred_url":"https://api.github.com/users/Ellipizle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ellipizle/subscriptions","organizations_url":"https://api.github.com/users/Ellipizle/orgs","repos_url":"https://api.github.com/users/Ellipizle/repos","events_url":"https://api.github.com/users/Ellipizle/events{/privacy}","received_events_url":"https://api.github.com/users/Ellipizle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-31T14:59:44Z","updated_at":"2016-12-31T23:44:19Z","closed_at":null,"body":"### What type of issue are you creating?\r\n- [ ] Bug\r\n- [ ] Enhancement\r\n- [ ] Question\r\n\r\n#### What version of this module are you using?\r\n- [ ] 2.0.10 (Stable)\r\n- [ ] ^2.1.0-rc.7\r\n- [ ] Other\r\n\r\nWrite other if any:\r\n\r\n#### Please add a description for your issue:\r\nI am using loopback ^2.22.0 and sdk ^2.1.0-rc.7.\r\n\r\nafter running sdk build and starting serve ng2, i get this error\r\n```javascript\r\nClass `SDKToken` incorrectly extends base class AcessToken\r\n property `created` is optional in type `SDKToken` but reuire in type `AccessToken`\r\n```\r\ni change it to require in BaseModel and serve the app again, other errors shows\r\n```javascript\r\nERROR in [default] C:\\loopapp\\web\\src\\app\\shared\\sdk\\services\\core\\auth.service.\r\nts:5:19\r\nModule '\"C:/loopapp/web/src/app/shared/sdk/models/BaseModels\"' has no exported m\r\nember 'AccessToken'.\r\n\r\nERROR in [default] C:\\loopapp\\web\\src\\app\\shared\\sdk\\services\\core\\base.service.\r\nts:9:25\r\nModule '\"C:/loopapp/web/src/app/shared/sdk/models/BaseModels\"' has no exported m\r\nember 'AccessToken'.\r\n```"},"comment":{"url":"https://api.github.com/repos/mean-expert-official/loopback-sdk-builder/issues/comments/269886312","html_url":"https://github.com/mean-expert-official/loopback-sdk-builder/issues/290#issuecomment-269886312","issue_url":"https://api.github.com/repos/mean-expert-official/loopback-sdk-builder/issues/290","id":269886312,"user":{"login":"jonathan-casarrubias","id":1533239,"avatar_url":"https://avatars.githubusercontent.com/u/1533239?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathan-casarrubias","html_url":"https://github.com/jonathan-casarrubias","followers_url":"https://api.github.com/users/jonathan-casarrubias/followers","following_url":"https://api.github.com/users/jonathan-casarrubias/following{/other_user}","gists_url":"https://api.github.com/users/jonathan-casarrubias/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathan-casarrubias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathan-casarrubias/subscriptions","organizations_url":"https://api.github.com/users/jonathan-casarrubias/orgs","repos_url":"https://api.github.com/users/jonathan-casarrubias/repos","events_url":"https://api.github.com/users/jonathan-casarrubias/events{/privacy}","received_events_url":"https://api.github.com/users/jonathan-casarrubias/received_events","type":"User","site_admin":false},"created_at":"2016-12-31T23:44:19Z","updated_at":"2016-12-31T23:44:19Z","body":"Ok I see this issue is different from what I originally thought, we will neet to update the property declaration"}}
{"actor":{"display_login":"jonathan-casarrubias"}}