Skip to content

Skip client-side GraphQL query validation - #40

Merged
alicederyn merged 1 commit into
mainfrom
skip-client-validation
Nov 7, 2026
Merged

alicederyn merged 1 commit into
mainfrom
skip-client-validation

Conversation

@alicederyn

Copy link
Copy Markdown
Owner

aiographql-client validates each query against the introspected schema. graphql-core 3.2.8 now rejects GitHub's schema ("Interface field Node.id is not deprecated, so implementation field ProjectCard.id must not be deprecated"), so every query to github.com fails before it is sent.

Pass validate=False. GitHub still validates queries on the server, and this also saves one introspection request per domain.

@alicederyn alicederyn added the bug Something isn't working label Nov 7, 2026
@alicederyn
alicederyn enabled auto-merge (squash) November 7, 2026 16:58
@alicederyn
alicederyn force-pushed the skip-client-validation branch from a4eaf19 to 8d9ad91 Compare November 7, 2026 21:40
aiographql-client validates each query against the introspected
schema. graphql-core 3.2.8 now rejects GitHub's schema ("Interface
field Node.id is not deprecated, so implementation field
ProjectCard.id must not be deprecated"), so every query to github.com
fails before it is sent.

Pass validate=False. GitHub still validates queries on the server,
and this also saves one introspection request per domain.
@alicederyn
alicederyn force-pushed the skip-client-validation branch from 8d9ad91 to 3262fd5 Compare November 7, 2026 21:50
@alicederyn
alicederyn merged commit 9a0a231 into main Nov 7, 2026
3 checks passed
@alicederyn
alicederyn deleted the skip-client-validation branch November 7, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant