Skip to content

to support load schema from local rather than sending a request to the server when app starts #397

Description

@Albert-Gao

Hi,

great tools, love it! just a quick request

the @urql/exchange-graphcache has an option to load local schema like this:

import { cacheExchange } from '@urql/exchange-graphcache'
import schema from '../../gql/introspected'

export const cache = cacheExchange({
  schema,
})

can we have a feature in the devtool to load the local schema plz? thanks

my server is protected so without the ability of adding auth header when sending introspection query, it won't work :(

if we can support adding headers when sending introspection query #398 , then this would not be needed :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions