Skip to content

Conversation

@glasser
Copy link
Member

@glasser glasser commented May 30, 2018

graphql-tag has a cache to make multiple gql calls with roughly the same text return the same AST. However, the cache key normalization is too sensitive as it makes literal strings with different amount of whitespace equal. This PR adds a failing test; I don't have time to actually fix the issue.

apollo-engine-reporting's signature.ts file has some building blocks for doing GraphQL signature transformations, though they are built on top of ASTs so they won't work well for this particular context.

@jnwng jnwng added bug good first issue Issues that are suitable for first-time contributors. labels Nov 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug good first issue Issues that are suitable for first-time contributors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants