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
{{ message }}
Repository navigation
GraphQL: Relay version >=0.8.0 introduce ID compatibility issue (objectIdSize higher than 19) #7622
With an objectId size setting equal or hight than 20 graphql request with an Mongo objectID fails (Invalid code point issue from graphql relay).
Steps to reproduce
Start a server, set objectIdSize to 20, create an object on graphql api, and the mutation return get the objectId and the id (relay). query the graphql api with the objectId. Request will fail.
Actual Outcome
All request fail using a non relay id
Expected Outcome
Non relay id from any size should works
Environment
Parse server with graphql relay >= 0.8.0 5.0.0-alpha.1
🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
changed the title [-]GraphQL: Relay version introduce compatibility ID base 64 issue from version 0.8.0[/-][+]GraphQL: Relay version >=0.8.0 introduce ID compatibility issue (objectIdSize higher than 19)[/+]on Oct 13, 2021
Activity
parse-github-assistant commentedon Oct 13, 2021
Thanks for opening this issue!
Moumouls commentedon Oct 13, 2021
A developer with an objectId size higher than 19 need to downgrade parse-server AND SHOULD NOT update his objectID size.
After the parse PR i'll open an issue on graphql-relay to understand what is going wrong with core ID of size 20
[-]GraphQL: Relay version introduce compatibility ID base 64 issue from version 0.8.0[/-][+]GraphQL: Relay version >=0.8.0 introduce ID compatibility issue (objectIdSize higher than 19)[/+]mtrezza commentedon Oct 13, 2021
To which versions of Parse Server does that currently apply?
Moumouls commentedon Oct 13, 2021
5.0.0-alpha.1parseplatformorg commentedon Nov 27, 2021
🎉 This change has been released in version 5.0.0-alpha.9
parse-github-assistant commentedon Nov 27, 2021
The label
block:releasecannot be used in combination withblock:beta.mtrezza commentedon Feb 12, 2022
Closing, via #7627 (merged into alpha), #7722 (merged into beta).
parseplatformorg commentedon Mar 15, 2022
🎉 This change has been released in version 5.0.0-beta.10
parseplatformorg commentedon Mar 18, 2022
🎉 This change has been released in version 5.1.0