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

GraphQL client backend #1122

Closed
4 tasks
bvrooman opened this issue Apr 12, 2023 · 1 comment
Closed
4 tasks

GraphQL client backend #1122

bvrooman opened this issue Apr 12, 2023 · 1 comment
Labels
graphql-api Affects API of the GraphQL

Comments

@bvrooman
Copy link
Contributor

bvrooman commented Apr 12, 2023

Client for GraphQL API. The GraphQL Client will implement the backend interface using the existing GraphQL queries and mutations. This separates the existing logic where the Client logic and GraphQL logic are coupled together. The GraphQL Client will be responsible for taking Fuel's backend-agnostic Rust types and converting them into a serializable format that GraphQL can send over the network. Similarly, the GraphQL Client will be responsible for receiving GraphQL server responses and converting GraphQL types back into Fuel Rust types.

Blocked by:

Acceptance Criteria:

  • GraphQL Client implements the generic client backend interface using GraphQL specific logic
  • GraphQL Client takes in Client types from the Client and converts them to GraphQL types
  • GraphQL Client receives GraphQL types from the GraphQL Server and converts them to Client types
  • GraphQL Client can be selected or turned off using a compiler flag
@bvrooman bvrooman changed the title GraphQL client backend subcrate GraphQL client backend Apr 13, 2023
@bvrooman bvrooman added the graphql-api Affects API of the GraphQL label May 30, 2024
@xgreenx
Copy link
Collaborator

xgreenx commented Sep 26, 2024

The fuel-core-client already has own types decoupled from fuel-core. The GraphQL still can rely on fuel-core types since it is built on top of the fuel-core

@xgreenx xgreenx closed this as completed Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
graphql-api Affects API of the GraphQL
Projects
None yet
Development

No branches or pull requests

2 participants