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

Cannot query field on type using @client directive #108

Open
nikzanda opened this issue Sep 7, 2023 · 0 comments
Open

Cannot query field on type using @client directive #108

nikzanda opened this issue Sep 7, 2023 · 0 comments

Comments

@nikzanda
Copy link

nikzanda commented Sep 7, 2023

In my project, I use an endpoint for my graphql queries and use a schema written in a local file within the project to extend some types, so that I can fetch those fields by resolving them locally through the @client directive. I can’t configure the apollo.config.js file to merge the remote schema with the local one, so for VS Code those fields resolved locally don’t exist. How can I solve this problem?

P.S. The queries are executed correctly by resolving all fields, both those resolved by the remote schema and those resolved locally, only VS Code returns an error.

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

No branches or pull requests

1 participant