Skip to content

GraphQL: Relay version >=0.8.0 introduce ID compatibility issue (objectIdSize higher than 19) #7622

@Moumouls

Description

@Moumouls

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:releasedReleased as stable versionstate:released-alphaReleased as alpha versionstate:released-betaReleased as beta versiontype:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions