Skip to content

Breaking change in ra-data-json-server between 2.7.0 and 2.7.3 #2965

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions