Skip to content
Discussion options

You must be logged in to vote

@spencerwilson sure! we support a format like this:

scalars:
  Upload: 'graphql-upload#FileUpload'

(it's PACKAGE_NAME#IDENTIFIER_NAME)

In more complex use-cases, you can use the identifier name and use add plugin, for example:

config:
  MyGqlType: 'A'
plugins:
  - add:
      content: "import A from 'somewhere'";
  - typescript

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@spencerwilson
Comment options

@gblikas
Comment options

@Urigo
Comment options

Urigo Sep 30, 2021
Collaborator

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