You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm noticing in the Web portion of this repo that the versioning is being handled by adding "v1" to the URL.
It is possible to create a router containing all v1 routes in a module then use that module as a "nest" router.
This refactor would allow to scale the API with new versions easier, as once you sunset a version you can edit the v2 module without risk of editing the v1 code.
It would be a decent refactor so I'll wait for feedback on when this refactor should take place as to not create merge conflicts.
The text was updated successfully, but these errors were encountered:
This would be a totally reasonable change to make, any poor design decision on the web API side of things was probably me not knowing much about what I'm doing in that area lol.
I think it's probably not hugely consequential, but I wouldn't be opposed to such a change.
I'm noticing in the Web portion of this repo that the versioning is being handled by adding "v1" to the URL.
It is possible to create a router containing all v1 routes in a module then use that module as a "nest" router.
This refactor would allow to scale the API with new versions easier, as once you sunset a version you can edit the v2 module without risk of editing the v1 code.
It would be a decent refactor so I'll wait for feedback on when this refactor should take place as to not create merge conflicts.
The text was updated successfully, but these errors were encountered: