Skip to content
Discussion options

You must be logged in to vote

If someone is also struggling with this - I think a had a profound misunderstanding of how GraphQL config works!

The following .graphqlrc solved the problem for me (the goToDefinition in my GraphQL files still redirects me to the client schema file but this is something I can live with)

projects:
  default:
    schema:
      - ./schema/client/schema.graphql
      - ./schema/extensions/*.graphql
      - ./schema/relay/relayDirectives.graphql
    documents:
      - ./frontend/**/*.{ts,tsx}
  scripts:
    schema:
      - ./schema/admin/schema.graphql
  source:
    schema:
      - ./schema/graphQl/source/**/*.graphql

I still don't understand projects, so if someone can help - very much appre…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Poolshark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant