We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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.js v15 no longer tolerates numbers being followed immediately with letters:
This package compresses field arguments like this:
{ a(b: 1, c: true) }
To this:
{a(b:1c:true)}
The 1c creates a query validation error is it is now invalid GraphQL syntax.
1c
Until this is resolved, graphql-query-compress is unsafe to use 😭
graphql-query-compress
The text was updated successfully, but these errors were encountered:
Sorry, I cannot repeat this problem:
$ cat sample.js const compress = require(".") let query = `{ a(b: 1, c: true) } ` query = compress(query) console.log(query) $ node sample.js {a(b:1,c:true)}
Are you sure the problem is introduced by graphql-query-compress itself in your case?
Sorry, something went wrong.
You're right! Sorry for the noise; here is the real issue: frontendr/babel-plugin-transform-compress-graphql#4 .
No branches or pull requests
GraphQL.js v15 no longer tolerates numbers being followed immediately with letters:
This package compresses field arguments like this:
To this:
The
1c
creates a query validation error is it is now invalid GraphQL syntax.Until this is resolved,
graphql-query-compress
is unsafe to use 😭The text was updated successfully, but these errors were encountered: