Skip to content

Releases: babyfish-ct/graphql-ts-client

v3.1.2

21 Jun 08:23
Compare
Choose a tag to compare
Fix issue #15

Important version: Better custom scalar type supporting

17 May 12:05
Compare
Choose a tag to compare

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

12 May 15:30
Compare
Choose a tag to compare
Support illegal user code with edge without cursor

v3.0.17

11 May 13:32
Compare
Choose a tag to compare
Fix issue #14

Allow less serious user illegal code to be accepted

11 May 12:00
Compare
Choose a tag to compare

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

22 Apr 10:31
Compare
Choose a tag to compare
Change more import to import type, async generator is conrruent now(O…

v3.0.14

21 Apr 08:35
Compare
Choose a tag to compare
Resovle issue #11

v3.0.13

07 Apr 01:48
Compare
Choose a tag to compare
Resolve issue #8

v3.0.12

06 Apr 14:15
Compare
Choose a tag to compare
Resolve issue #8 for graphql 16+

v3.0.11

05 Apr 16:56
Compare
Choose a tag to compare
Resolve issues: #8 and #9