{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback/issues/2593","repository_url":"https://api.github.com/repos/strongloop/loopback","labels_url":"https://api.github.com/repos/strongloop/loopback/issues/2593/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback/issues/2593/comments","events_url":"https://api.github.com/repos/strongloop/loopback/issues/2593/events","html_url":"https://github.com/strongloop/loopback/issues/2593","id":169941254,"number":2593,"title":"Deprecated warnings when generating Loopback Angular service","user":{"login":"jmereaux","id":941602,"avatar_url":"https://avatars.githubusercontent.com/u/941602?v=3","gravatar_id":"","url":"https://api.github.com/users/jmereaux","html_url":"https://github.com/jmereaux","followers_url":"https://api.github.com/users/jmereaux/followers","following_url":"https://api.github.com/users/jmereaux/following{/other_user}","gists_url":"https://api.github.com/users/jmereaux/gists{/gist_id}","starred_url":"https://api.github.com/users/jmereaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmereaux/subscriptions","organizations_url":"https://api.github.com/users/jmereaux/orgs","repos_url":"https://api.github.com/users/jmereaux/repos","events_url":"https://api.github.com/users/jmereaux/events{/privacy}","received_events_url":"https://api.github.com/users/jmereaux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/loopback/labels/triage","name":"triage","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"Amir-61","id":10672146,"avatar_url":"https://avatars.githubusercontent.com/u/10672146?v=3","gravatar_id":"","url":"https://api.github.com/users/Amir-61","html_url":"https://github.com/Amir-61","followers_url":"https://api.github.com/users/Amir-61/followers","following_url":"https://api.github.com/users/Amir-61/following{/other_user}","gists_url":"https://api.github.com/users/Amir-61/gists{/gist_id}","starred_url":"https://api.github.com/users/Amir-61/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amir-61/subscriptions","organizations_url":"https://api.github.com/users/Amir-61/orgs","repos_url":"https://api.github.com/users/Amir-61/repos","events_url":"https://api.github.com/users/Amir-61/events{/privacy}","received_events_url":"https://api.github.com/users/Amir-61/received_events","type":"User","site_admin":false},"assignees":[{"login":"Amir-61","id":10672146,"avatar_url":"https://avatars.githubusercontent.com/u/10672146?v=3","gravatar_id":"","url":"https://api.github.com/users/Amir-61","html_url":"https://github.com/Amir-61","followers_url":"https://api.github.com/users/Amir-61/followers","following_url":"https://api.github.com/users/Amir-61/following{/other_user}","gists_url":"https://api.github.com/users/Amir-61/gists{/gist_id}","starred_url":"https://api.github.com/users/Amir-61/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amir-61/subscriptions","organizations_url":"https://api.github.com/users/Amir-61/orgs","repos_url":"https://api.github.com/users/Amir-61/repos","events_url":"https://api.github.com/users/Amir-61/events{/privacy}","received_events_url":"https://api.github.com/users/Amir-61/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-08-08T14:46:49Z","updated_at":"2016-08-08T21:45:08Z","closed_at":null,"body":"Hi folks,\r\n\r\nA few days ago, I started noticing some `deprecated` warnings when using the lb-ng command to generate the Angular client service.\r\n\r\n    strong-remoting deprecated getFullPath() is deprecated, use getEndpoints()[0].fullPath instead. eval at <anonymous> (/Users/johan/.nvm/v4.2.4/lib/node_modules/strongloop/node_modules/loopback-sdk-angular-cli/node_modules/loopback-sdk-angular/node_modules/ejs/lib/ejs.js:242:14), <anonymous>:37:287\r\n    strong-remoting deprecated getHttpMethod() is deprecated, use getEndpoints()[0].verb instead. eval at <anonymous> (/Users/johan/.nvm/v4.2.4/lib/node_modules/strongloop/node_modules/loopback-sdk-angular-cli/node_modules/loopback-sdk-angular/node_modules/ejs/lib/ejs.js:242:14), <anonymous>:94:12\r\n    strong-remoting deprecated getFullPath() is deprecated, use getEndpoints()[0].fullPath instead. eval at <anonymous> (/Users/johan/.nvm/v4.2.4/lib/node_modules/strongloop/node_modules/loopback-sdk-angular-cli/node_modules/loopback-sdk-angular/node_modules/ejs/lib/ejs.js:242:14), <anonymous>:42:130\r\n    strong-remoting deprecated getHttpMethod() is deprecated, use getEndpoints()[0].verb instead. eval at <anonymous> (/Users/johan/.nvm/v4.2.4/lib/node_modules/strongloop/node_modules/loopback-sdk-angular-cli/node_modules/loopback-sdk-angular/node_modules/ejs/lib/ejs.js:242:14), <anonymous>:42:214\r\n    strong-remoting deprecated getHttpMethod() is deprecated, use getEndpoints()[0].verb instead. eval at <anonymous> (/Users/johan/.nvm/v4.2.4/lib/node_modules/strongloop/node_modules/loopback-sdk-angular-cli/node_modules/loopback-sdk-angular/node_modules/ejs/lib/ejs.js:242:14), <anonymous>:94:48\r\n\r\nThe client service seems to be properly generated, but just wanted to check if these warnings are problematic or not.\r\n\r\nThanks a lot for your help"},"comment":{"url":"https://api.github.com/repos/strongloop/loopback/issues/comments/238387613","html_url":"https://github.com/strongloop/loopback/issues/2593#issuecomment-238387613","issue_url":"https://api.github.com/repos/strongloop/loopback/issues/2593","id":238387613,"user":{"login":"Amir-61","id":10672146,"avatar_url":"https://avatars.githubusercontent.com/u/10672146?v=3","gravatar_id":"","url":"https://api.github.com/users/Amir-61","html_url":"https://github.com/Amir-61","followers_url":"https://api.github.com/users/Amir-61/followers","following_url":"https://api.github.com/users/Amir-61/following{/other_user}","gists_url":"https://api.github.com/users/Amir-61/gists{/gist_id}","starred_url":"https://api.github.com/users/Amir-61/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amir-61/subscriptions","organizations_url":"https://api.github.com/users/Amir-61/orgs","repos_url":"https://api.github.com/users/Amir-61/repos","events_url":"https://api.github.com/users/Amir-61/events{/privacy}","received_events_url":"https://api.github.com/users/Amir-61/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T21:45:08Z","updated_at":"2016-08-08T21:45:08Z","body":"Hello @jmereaux,\r\n\r\n>just wanted to check if these warnings are problematic or not.\r\nWe deprecated `getFullPath()` and `getHttpMethod()` since they were designed for single path and method; now we have implemented `getEndpoints`, by which you can get `methods` as well as `paths`, also it works for multiple paths and methods.\r\n\r\nSo the equivalent of your previously used `getFullPath()` and `getHttpMethod ()` would be `getEndpoints()[0].fullPath` and `getEndpoints()[0].verb` respectively.\r\n\r\nHope this answer your question. If so I will close this ticket soon.\r\n\r\nThanks!"}}
{"actor":{"display_login":"Amir-61"}}