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

apikey: allow omitting fixed queries #3464

Merged
merged 1 commit into from
Nov 21, 2023
Merged

Conversation

mastercactapus
Copy link
Member

Description:
Allow omitting the query from API requests coming from gql API keys.

  • The keys already have a hash embedded to validate they only work with a single query
  • When rotating or replacing a key with a modified query (presumably with the same operation names and variables) this allows easier maintenance of client applications as they can update the key, without having to keep the query in sync.

@mastercactapus mastercactapus merged commit 379c87a into master Nov 21, 2023
@mastercactapus mastercactapus deleted the apikey-omit-query branch November 21, 2023 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants