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

Add GraphQL infrastructure #188

Merged
merged 1 commit into from
Jun 16, 2024
Merged

Add GraphQL infrastructure #188

merged 1 commit into from
Jun 16, 2024

Commits on Jun 16, 2024

  1. Add GraphQL infrastructure

    Adds an API for GraphQL requests, and a build script to autogenerate TS types from a GraphQL schema + GraphQL queries.
    
    The most commonly used GraphQL client seems to be Apollo, but I'm not convinced it's not overkill for this usecase. In order to keep the dependencies lightweight but also keep our options open in the future, I've instead written a simple shim compatible with the codegen intended for Apollo but not actually using Apollo as a dependency.
    
    Since the GraphQL API doesn't get called yet, this PR is fully backwards compatible.
    lcdr committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    93ea62a View commit details
    Browse the repository at this point in the history