Skip to content

Adds Graphql support#10448

Draft
arthurrsouza wants to merge 6 commits intowarp-drive-data:mainfrom
arthurrsouza:graphql-support
Draft

Adds Graphql support#10448
arthurrsouza wants to merge 6 commits intowarp-drive-data:mainfrom
arthurrsouza:graphql-support

Conversation

@arthurrsouza
Copy link
Copy Markdown

This PR adds support to GraphQL in WarpDrive. It adds optional graphql and graphql-tag dependencies to @warp-drive/utilities and some files to help calling GraphQL APIs.

GraphQL Query Builder:

Responsible for building the request data for a giving GraqphQL query + schema type.

GraphQL Request Handler

Responsible for handling an GraphQL request and transforming into a valid JSON:API response, that will be used to create all records in WarpDrive cache.

TODO:

  • GraphQL query builder
  • Tests for Query Builder
  • Graphql Request Handler
  • Tests for Request Handler
  • Error Policy - used to return partial results when the API has some errors
  • Pagination Support

@arthurrsouza arthurrsouza marked this pull request as draft January 16, 2026 19:03
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.

1 participant