-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Breaking change in ra-data-json-server between 2.7.0 and 2.7.3 #2965
Comments
We do our best to follow semver and try not to break things between versions. Sorry for that, and thanks for reporting the issue! |
I disagree that this is a breaking change. The ra-data-json-server adapter is designed to work against jsonServer. The patch you're referring to is part of a bugfix (cf #2873) designed to make ra-data-json-server work better against jsonServer. Now if you're using this adapter against another server, that's at your own risk, and it's not something we support. I apologize if the update broke your app, but you made the wrong assumption about the adapter you picked up. |
No problem. I wasn't waiting for a fix and I already forked it and fixed it myself. I actually just chose ra-data-json-server because it was the simplest implementation that worked well with Swagger. Thanks! |
I have a problem with the new parameter format, and was wondering if it's just a problem with my data provider or does anyone else experience this? |
No one will get attention to your question on a closed issue, prefer to ask it on Stack OverFlow. |
@jheiska The |
What you were expecting:
I am not sure if you're following Semver, but if you are - somewhere between version 2.7.0 and 2.7.3,
ra-data-json-server
caused a breaking change, with this commit, because it no longer sends theid_like
parameter, instead it sends the resourcesid
field to get related resources.Also, instead of a list of ids separated by a pipe (
|
) character, it now sends the same parameter twice when it wants to get more than one resource item, e.g. to get category8
and category203
it sendshttp://localhost:9000/admin/categories?id=8&id=203
instead ofhttp://localhost:9000/admin/categories?id_like=8%7C203
What happened instead:
Semver wasn't used.
Steps to reproduce:
Install the newest version 2.7.3 after being on 2.7.0.
Related code:
none
Other information:
none
Environment
The text was updated successfully, but these errors were encountered: