Skip to content
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

fix(jwt): handle bigint / numeric in JWTs #376

Merged
merged 7 commits into from
Jan 10, 2019
Merged

fix(jwt): handle bigint / numeric in JWTs #376

merged 7 commits into from
Jan 10, 2019

Conversation

benjie
Copy link
Member

@benjie benjie commented Jan 10, 2019

For anyone who has used bigint/numeric in their JWT types, this may cause issues as it changes the type from number to string; to fix this either update your code to handle arbitrary precision numbers, or change your database types to int / float for GraphQL compatibility.

Fixes graphile/crystal#948

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bigint in custom jwt doesn't work correctly
1 participant