-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spike: dynamically updated LB3 API (routes + spec) #2394
Comments
time box the spike to one week. |
This issue has been marked stale because it has not seen activity within six months. If you believe this to be in error, please contact one of the code owners, listed in the |
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the |
This is a follow-up for the spike #2318, see the discussion and PoC code for more context.
In LB3, it's possible to change the shape of REST API at runtime by adding or removing shared methods or even entire models.
The 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.)As 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.
Related issues: #1849 #2389 #2391
The text was updated successfully, but these errors were encountered: