Skip to content

Version 0.5.0

Compare
Choose a tag to compare
@DAB0mB DAB0mB released this 12 Jan 06:18
· 61 commits to master since this release

Transformation options may also be provided:

  • defaultGqlIdentifierName - The default GraphQL string parser identifier to look for. Defaults to gql, unless imported as something else from the graphql-tag package. This behavior can also be changed, see the gqlPackName option.

  • gqlMagicComment - The magic comment anchor to look for when parsing GraphQL strings. Defaults to graphql, which may be translated into /* GraphQL */ in code.

  • gqlPackName - The name of the package that is responsible for exporting the GraphQL string parser function. Defaults to graphql-tag.

I recommend you to look at the source code for a clearer understanding of the transformation options.