Skip to content

Avoids double-parsing request query#11

Merged
NeedleInAJayStack merged 1 commit into
mainfrom
refactor/avoid-double-parsing
Jul 8, 2026
Merged

Avoids double-parsing request query#11
NeedleInAJayStack merged 1 commit into
mainfrom
refactor/avoid-double-parsing

Conversation

@NeedleInAJayStack

@NeedleInAJayStack NeedleInAJayStack commented Jul 8, 2026

Copy link
Copy Markdown
Member

This gives a slight performance improvement by avoiding double-parsing the request queries. It does so by pre-parsing, validating the schema and request separately, and using the GraphQL package's execute method directly instead of graphql.

@NeedleInAJayStack NeedleInAJayStack self-assigned this Jul 8, 2026
This avoids double-parsing the request queries by pre-parsing, validating the schema and request separately, and using the GraphQL package's `execute` method directly instead of `graphql`.
@NeedleInAJayStack
NeedleInAJayStack force-pushed the refactor/avoid-double-parsing branch from a356705 to 5074bb2 Compare July 8, 2026 04:07
@NeedleInAJayStack NeedleInAJayStack changed the title refactor: Avoids double-parsing request query Avoids double-parsing request query Jul 8, 2026
@NeedleInAJayStack
NeedleInAJayStack merged commit 38129f2 into main Jul 8, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant