-
Notifications
You must be signed in to change notification settings - Fork 25
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
Versioning in the URL #92
Comments
This was discussed at the developer's meeting again today. Several issues arise. The client autogenerates from the swagger/openapi docs of the server. The current plant is to continue to autogenerate on the loopback version. At a future ti me, this will be swapped to the next.js version. The version indicator |
I think we will always need the version numbers, in order to help with migration in case of imcompatible changes to the API. In my mind we should not drop it. |
At the call this week, I mentioned that there were some possible alternatives to placing the version in the URL path that seem to be gaining traction. Here is a brief summary. I do not have a super strong opinion here. The path is pretty explicit to developers, which is nice. |
Nice summary. Whatever we choose, we should have the version info "somewhere" |
During the scicat meetings, it was decided: Version number
|
At the last developers; meeting, we discussed the possibility of changing the version indicator in the enpoint urls from
v3
tov4
.I have started playing with the new backend with an eye toward making pyscicat compatible with both the new and old by parsing the url provided to the client and changing the url that gets used for datasets based on the version that pyscicat is talking to. But I currently it's still using
v3
. If this is likely to change in the future, I'll continue down this path. If not, then I'll find another method to distinguish in pyscicat (probably with an optional parameter in the constructor.)The text was updated successfully, but these errors were encountered: