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

feat: force enable query analyzer #270

Merged
merged 4 commits into from
Feb 7, 2024
Merged

Conversation

jasonbahl
Copy link
Collaborator

This force enables the GraphQL Query Analyzer when WPGraphQL Smart Cache is active.

In v1.20.0 of WPGraphQL the GraphQL Query Analyzer became optional, causing some users of WPGraphQL Smart Cache to lose the X-GraphQL-Keys header used by cache tagging and cache invalidation.

This force enables the Query Analyzer when using WPGraphQL Smart cache, ensuring that the keys are generated and output in the headers.

Closes: #269 #268

Related:

@jasonbahl jasonbahl requested a review from josephfusco February 7, 2024 21:48
@jasonbahl jasonbahl self-assigned this Feb 7, 2024
@jasonbahl jasonbahl merged commit 6783335 into main Feb 7, 2024
13 checks passed
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.

X-Graphql-Keys and X-Graphql-Query-Id response headers missing
2 participants