Graphql Ts Client Versions Save

Typescript DSL for GraphQL.

v3.1.2

2 years ago

v3.1.0

2 years ago

Custom inline type

{
	"scalarTypeMap": { 
		"GraphQLPoint": "{readonly x: number, readonly: number}" 
                // Be careful, this value is string
	}
}

Custom non-inline type

{
	"scalarTypeMap": { 
		"GraphQLPoint": {
		    typeName: "Point",
		    importSource: "commons/Type"
                    // "import { Point } from '../common/Types';" will be generated
		}
	}
}

v3.0.18

2 years ago

v3.0.17

2 years ago

v3.0.16

2 years ago

Allow less serious user illegal code to be accepted.

Now, some illegal code can be accepted by code generator, they will not cause errors, but warnings:

  1. Connection.edges is nullable
  2. Edge.node is nullable
  3. Edge.cursor is not declared

v3.0.15

2 years ago

v3.0.14

2 years ago

v3.0.13

2 years ago

v3.0.12

2 years ago

v3.0.11

2 years ago