payload: {"action":"opened","issue":{"url":"https://api.github.com/repos/strongloop/loopback-next/issues/2394","repository_url":"https://api.github.com/repos/strongloop/loopback-next","labels_url":"https://api.github.com/repos/strongloop/loopback-next/issues/2394/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback-next/issues/2394/comments","events_url":"https://api.github.com/repos/strongloop/loopback-next/issues/2394/events","html_url":"https://github.com/strongloop/loopback-next/issues/2394","id":410194147,"node_id":"MDU6SXNzdWU0MTAxOTQxNDc=","number":2394,"title":"Spike: dynamically updated LB3 API (routes + spec)","user":{"login":"bajtos","id":1140553,"node_id":"MDQ6VXNlcjExNDA1NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/1140553?v=4","gravatar_id":"","url":"https://api.github.com/users/bajtos","html_url":"https://github.com/bajtos","followers_url":"https://api.github.com/users/bajtos/followers","following_url":"https://api.github.com/users/bajtos/following{/other_user}","gists_url":"https://api.github.com/users/bajtos/gists{/gist_id}","starred_url":"https://api.github.com/users/bajtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bajtos/subscriptions","organizations_url":"https://api.github.com/users/bajtos/orgs","repos_url":"https://api.github.com/users/bajtos/repos","events_url":"https://api.github.com/users/bajtos/events{/privacy}","received_events_url":"https://api.github.com/users/bajtos/received_events","type":"User","site_admin":false},"labels":[{"id":1203630472,"node_id":"MDU6TGFiZWwxMjAzNjMwNDcy","url":"https://api.github.com/repos/strongloop/loopback-next/labels/2019Q2","name":"2019Q2","color":"494bbc","default":false},{"id":1194790466,"node_id":"MDU6TGFiZWwxMTk0NzkwNDY2","url":"https://api.github.com/repos/strongloop/loopback-next/labels/Migration","name":"Migration","color":"fcc53a","default":false},{"id":534463381,"node_id":"MDU6TGFiZWw1MzQ0NjMzODE=","url":"https://api.github.com/repos/strongloop/loopback-next/labels/p2","name":"p2","color":"FED8B1","default":false},{"id":534463375,"node_id":"MDU6TGFiZWw1MzQ0NjMzNzU=","url":"https://api.github.com/repos/strongloop/loopback-next/labels/spike","name":"spike","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-02-14T09:00:44Z","updated_at":"2019-02-14T09:00:44Z","closed_at":null,"author_association":"MEMBER","body":"_This is a follow-up for the spike #2318, see the discussion and PoC code for more context._\r\n\r\nIn LB3, it's possible to change the shape of REST API at runtime by adding or removing shared methods or even entire models.\r\n\r\nThe PoC version of LB3+LB4 does not support spec updates, we need to do a spike to find the best solution. (For example, `mountExpressRouter` can accept a spec getter instead of the spec object.)\r\n\r\nAs for the actual request handling, the PoC version reloads route handlers in \"full\" mode but does not reload in \"router\" mode. As part of the stories created from the spike, we should fix \"router\" mode to reload the LB3 handler when needed.\r\n\r\nRelated issues: #1849 #2389 #2391"}}
other: {"actor":{"display_login":"bajtos"}}