Skip to content
Discussion options

You must be logged in to vote

Ah great question! I think you can update your config to this:

const config = {
    documents: [...],
    config: { 
      namespacedImportName: 'Types', // This adds `Types.` to your types
    },
    filename: outputFile,
    schema: parse(printSchema(schema)),
    plugins: [...],
    pluginMap: {...},
  }
}

near-operation-file preset does that here

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@eddeee888
Comment options

@eddeee888
Comment options

@JoviDeCroock
Comment options

@eddeee888
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