Skip to content

Field is not used #222

Answered by JoviDeCroock
timothyarmes asked this question in Q&A
Feb 21, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

This issue will be transferred to https://github.com/0no-co/GraphQLSP where it belongs but you can do trackFieldUsage: false in your tsconfig. This way of using the documents is one that I have personally not seen before 😅

So something like

{
  "compilerOptions": {
    "plugins": [
      {
        "name": "@0no-co/graphqlsp",
        "schema": "./schema.graphql",
        "trackFieldUsage": false
      }
    ]
  }
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@timothyarmes
Comment options

@JoviDeCroock
Comment options

Answer selected by JoviDeCroock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants