-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
GraphQL: Relay version >=0.8.0 introduce ID compatibility issue (objectIdSize higher than 19) #7622
Comments
Thanks for opening this issue!
|
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 |
To which versions of Parse Server does that currently apply? |
|
🎉 This change has been released in version 5.0.0-alpha.9 |
The label |
🎉 This change has been released in version 5.0.0-beta.10 |
🎉 This change has been released in version 5.1.0 |
New Issue Checklist
Issue Description
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
graphql-relay should be downgraded to 0.7.0
The text was updated successfully, but these errors were encountered: