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 the id_like parameter, instead it sends the resources id 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 category 8 and category 203 it sends http://localhost:9000/admin/categories?id=8&id=203 instead of http://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
- React-admin version: 2.7.3
- Last version that did not exhibit the issue (if applicable): 2.7.0
- React version: 16.8.4
- Browser: N/A
- Stack trace (in case of a JS error): N/A
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-servercaused a breaking change, with this commit, because it no longer sends theid_likeparameter, instead it sends the resourcesidfield 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 category8and category203it sendshttp://localhost:9000/admin/categories?id=8&id=203instead ofhttp://localhost:9000/admin/categories?id_like=8%7C203What 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