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

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

Open
Albert-Gao opened this issue Sep 24, 2022 · 0 comments
Labels
Feature New feature or request

Comments

@Albert-Gao
Copy link

Albert-Gao commented Sep 24, 2022

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant