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

failing test for bad doc cache normalization #189

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

2 participants