@genql/cli
Advanced tools
Comparing version 6.3.0 to 6.3.1
@@ -33,3 +33,2 @@ "use strict"; | ||
} | ||
// if (output) throw new Error('test case did not run') // TODO readd tests | ||
}); | ||
@@ -36,0 +35,0 @@ test('scalarType', () => testCase( |
@@ -5,3 +5,3 @@ export type FieldsSelection<SRC extends Anify<DST> | undefined, DST> = { | ||
object: HandleObject<SRC, DST>; | ||
array: SRC extends Nil ? never : SRC extends (infer T)[] ? Array<FieldsSelection<T, DST>> : never; | ||
array: SRC extends Nil ? never : SRC extends Array<infer T | null> ? Array<FieldsSelection<T, DST>> : never; | ||
__scalar: Handle__scalar<SRC, DST>; | ||
@@ -8,0 +8,0 @@ never: never; |
{ | ||
"name": "@genql/cli", | ||
"version": "6.3.0", | ||
"version": "6.3.1", | ||
"description": "Generate a TypeScript SDK for any GraphQl API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -13,2 +13,6 @@ <div align='center'> | ||
> [!IMPORTANT] | ||
> Genql is building a cloud platform to automate SDK generation in multiple languages, docs website with examples, changelog website and more. | ||
> Fill [this form](https://tally.so/r/mK1GWM) if you are interested! | ||
Read the [quick start guide](https://genql.dev/docs) to generate your client and start writing queries. | ||
@@ -15,0 +19,0 @@ |
@@ -38,3 +38,3 @@ import { GraphQLNamedType } from 'graphql' | ||
// if (output) throw new Error('test case did not run') // TODO readd tests | ||
} | ||
@@ -41,0 +41,0 @@ |
@@ -22,3 +22,3 @@ ////////////////////////////////////////////////// | ||
? never | ||
: SRC extends (infer T)[] | ||
: SRC extends Array<infer T | null> | ||
? Array<FieldsSelection<T, DST>> | ||
@@ -25,0 +25,0 @@ : never |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
380170
109
7197