GlobalPrefix
should be wildcard and not be static
#2000
Labels
apps/playground-api
apps/whale-api
area/apps
kind/feature
New feature request
priority/important-soon
Will be important soon
triage/accepted
Triage has been accepted
What would you like to be added:
https://github.com/JellyfishSDK/jellyfish/blob/8a5dfcf2059ce1a667d6fcff2589ac75899f9582/apps/whale-api/src/app.module.ts#L67-L72
Currently,
setGlobalPrefix
usesversion
set from config or default topackage.json
v{major}.{minor}
with patch trimmed. We should use a dynamic wildcard likev*/{network}
to allow for deployment where the version is not known ahead of time.Why is this needed:
For flexible IAC where the version is not statically enforced by a running container — to allow easy dynamic routing. For example, we can reroute
v3
traffic tov0
easily. Now we can't do it.The text was updated successfully, but these errors were encountered: