-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Is your feature request related to a problem? Please describe.
In a serverless context we lose the ability to use any form of runtime configuration, the next api is locked down on purpose.
Describe the solution you'd like
We can address the problem by making runtime configs a middleware implementation that hooks into the rewrite by adding a runtime keyword (in addition to current query, params, original) that carries a config.
Describe alternatives you've considered
Not really many options...
Additional context
Should expose a nice api to define runtime configs and retrieve them from components.
We may also add configs at the route level not only at the global level.
Metadata
Metadata
Assignees
Labels
No labels