4.0.0 • Published 11 months ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months 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

11 months ago

3.0.0

1 year ago

2.0.2

1 year ago

1.0.1

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.15

2 years ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago