Skip to content

support graphql-config config manage graphql configs #287

@oooplz

Description

@oooplz

graphql-config is awesome plugin for graphql.graphql-config

i want not need manager multiple graphql url in project.
Ex:
1.in nuxt.config.ts file
apollo: { defaultOptions: { $query: { loadingKey: 'loading', fetchPolicy: 'cache-and-network' } }, clientConfigs: { default: { httpEndpoint: 'https://my-url' } } }

  1. in .graphqlconfig config file
    { "name": "xxx", "schemaPath": "./schema.graphql", "extensions": { "endpoints": { "Default GraphQL Endpoint": { "url": "https://my-url" } } } }
This question is available on Nuxt community (#c265)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions