0.1.9 • Published 3 years ago

asa-graphql-ts-typescript-operations v0.1.9

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

A fork of https://github.com/dotansimha/graphql-code-generator to create a custom version of the typescript operations plugin, i.e. forking the @graphql-codegen/typescript-operations package.

The fork adds a new option referenceFragmentSpreads, which directs the codegen to apply fragment spreads as types, rather than inlining. It also directs the codegen to just assume all fragment types are available, which relies on importing any fragment types that are externally defined. This importing must be handled by https://github.com/asa-graphql-codegen/asa-graphql-ts-typed-document. In other words, referenceFragmentSpreads assumes asa-graphql-ts-typed-document is being used.

Running Tests

yarn test --testNamePattern="TypeScript Operations Plugin"
0.1.8

3 years ago

0.1.7

3 years ago

0.1.9

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago