Closed nyoung697 closed 4 months ago
Since version 1.6, using a url + headers for a schema produces the error "Failed to load configuration. Schema is missing a schema property".
schema
This is my plugins property in tsconfig:
"plugins": [ { "name": "@0no-co/graphqlsp", "schema": { "url": "http://localhost:8080/v1/graphql", "headers": { "x-hasura-admin-secret": "secret" } }, "tadaOutputLocation": "./src/graphql-env.d.ts" } ]
I played around with some different configurations based on the blog post for Multi-Schema mode, but wasn't able to resolve the error.
Is anyone else experiencing this? Am I missing something here? It works fine on versions below 1.6.
Thank you.
No response
gql.tada@latest gql.tada@1.6 latest version of the @0no-co pkg.
Describe the bug
Since version 1.6, using a url + headers for a schema produces the error "Failed to load configuration. Schema is missing a
schema
property".This is my plugins property in tsconfig:
I played around with some different configurations based on the blog post for Multi-Schema mode, but wasn't able to resolve the error.
Is anyone else experiencing this? Am I missing something here? It works fine on versions below 1.6.
Thank you.
Reproduction
No response
gql.tada version
gql.tada@latest gql.tada@1.6 latest version of the @0no-co pkg.
Validations