4.0.0 • Published 2 years ago

asa-graphql-ts-typed-document v4.0.0

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

asa-graphql-ts-typed-document

CI

POC graphql-code-generator plugin for typed documents

This repo was forked from: https://github.com/dotansimha/graphql-code-generator/tree/master/packages/plugins/typescript/typed-document-node From commit 295382a150b73b58ccba754d03f2d1cfa11fae1c

The point of this fork is to add the ability to specify a fragmentImportsSourceMap config object, which provides a map of fragment name to filepath, thereby informing where to import types for each external fragment. For example:

{
  fragmentImportsSourceMap: {
    UserFragment: './fragments/_user-fragment.graphql'
  }
}

See the tests for behavior: https://github.com/asa-graphql-codegen/asa-graphql-ts-typed-document/blob/069cac5881fafa7f043d4e9a558344e887ac49ee/tests/typed-document-node.spec.ts#L149

4.0.0

2 years ago

3.0.0

2 years ago

2.0.2

3 years ago

1.0.1

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.0

3 years ago

0.0.18

3 years ago

0.0.19

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.15

3 years ago

0.0.16

3 years ago

0.0.17

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago