-
Notifications
You must be signed in to change notification settings - Fork 181
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
RangeError: Invalid code point #358
Comments
@Streeterxs Can you provide a little bit more context? |
we use this method to validate if a given id is a valid globalId this used to work, however right now we need to wrap it in a try catch |
IvanGoncharov
added a commit
to IvanGoncharov/graphql-relay-js
that referenced
this issue
Dec 17, 2021
Fixes graphql#358 Note: it's temprorary workaround until we design a better API
IvanGoncharov
added a commit
to IvanGoncharov/graphql-relay-js
that referenced
this issue
Dec 17, 2021
Fixes graphql#358 Note: it's temprorary workaround until we design a better API
IvanGoncharov
added a commit
to IvanGoncharov/graphql-relay-js
that referenced
this issue
Dec 19, 2021
Fixes graphql#358 Note: it's temprorary workaround until we design a better API
IvanGoncharov
added a commit
that referenced
this issue
Dec 19, 2021
Fixes #358 Note: it's temporary workaround until we design a better API
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to validate a input in a test file to find if the given string is a GlobalID but fromGlobalId is throwing error for string: 'E23114447202105201514Zt2MM4ipJef'.
The error is:
I logged utf8ArrayToString function
Just before last String.fromCodePoint:
result:
The text was updated successfully, but these errors were encountered: