We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
defaultTabs
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
When I visit the GraphQL Yoga playground (GraphiQL), I don't see the expected default query that I've set in the code.
const defaultQuery = /* GraphQL */ ` query Hello { hello } `; const yoga = createYoga({ graphiql: { defaultTabs: [{ query: defaultQuery }], }, schema, });
Minimal reproduction here: https://codesandbox.io/p/devbox/objective-david-f5h3zx?file=%2Fsrc%2Fmain.ts%3A6%2C28
https://codesandbox.io/p/devbox/objective-david-f5h3zx?file=%2Fsrc%2Fmain.ts%3A6%2C28
yarn start
As a user of GraphiQL, I expect that the default tabs get populated when I open GraphiQL.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
When I visit the GraphQL Yoga playground (GraphiQL), I don't see the expected default query that I've set in the code.
Minimal reproduction here: https://codesandbox.io/p/devbox/objective-david-f5h3zx?file=%2Fsrc%2Fmain.ts%3A6%2C28
Your Example Website or App
https://codesandbox.io/p/devbox/objective-david-f5h3zx?file=%2Fsrc%2Fmain.ts%3A6%2C28
Steps to Reproduce the Bug or Issue
yarn start
Expected behavior
As a user of GraphiQL, I expect that the default tabs get populated when I open GraphiQL.
Screenshots or Videos
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: