Skip to content

feat: scalar method #1537

feat: scalar method

feat: scalar method #1537

Triggered via pull request October 21, 2024 03:51
Status Failure
Total duration 1m 3s
Artifacts

pr.yml

on: pull_request
Matrix: test-examples
Matrix: test-unit
Fit to window
Zoom out
Zoom in

Annotations

44 errors and 1 warning
src/generator/generator/generate.test.ts > kitchen-sink generated modules: src/generator/generator/generate.test.ts#L12
Error: Snapshot `kitchen-sink generated modules > modules/MethodsRoot.ts 1` mismatched - Expected + Received "import { type Simplify } from 'type-fest' import type { InferResult } from '../../../../../../src/entrypoints/schema.js' - import type * as Utils from '../../../../../../src/entrypoints/utilities-for-generated.js' + import type * as $$Utilities from '../../../../../../src/entrypoints/utilities-for-generated.js' import type { Schema } from './Schema.js' import type * as SelectionSet from './SelectionSets.js' - export interface MutationMethods<$Context extends Utils.ClientContext> { + export interface MutationMethods<$Context extends $$Utilities.ClientContext> { $batch: <$SelectionSet>( - selectionSet: Utils.Exact<$SelectionSet, SelectionSet.Mutation<$Context['scalars']>>, + selectionSet: $$Utilities.Exact<$SelectionSet, SelectionSet.Mutation<$Context['scalars']>>, ) => Promise< Simplify< - Utils.HandleOutput< + $$Utilities.HandleOutput< $Context, - InferResult.Mutation<$SelectionSet, Schema> + InferResult.Mutation<$SelectionSet, Schema<$Context['scalars']>> > > > __typename: () => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, { __typename: 'Mutation' }, '__typename' > > > id: <$SelectionSet>( - selectionSet?: Utils.Exact<$SelectionSet, SelectionSet.Mutation.id<$Context['scalars']>>, + selectionSet?: $$Utilities.Exact<$SelectionSet, SelectionSet.Mutation.id<$Context['scalars']>>, ) => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, - InferResult.Mutation<{ id: $SelectionSet }, Schema>, + InferResult.Mutation<{ id: $SelectionSet }, Schema<$Context['scalars']>>, 'id' > > > idNonNull: <$SelectionSet>( - selectionSet?: Utils.Exact<$SelectionSet, SelectionSet.Mutation.idNonNull<$Context['scalars']>>, + selectionSet?: $$Utilities.Exact<$SelectionSet, SelectionSet.Mutation.idNonNull<$Context['scalars']>>, ) => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, - InferResult.Mutation<{ idNonNull: $SelectionSet }, Schema>, + InferResult.Mutation<{ idNonNull: $SelectionSet }, Schema<$Context['scalars']>>, 'idNonNull' > > > } - export interface QueryMethods<$Context extends Utils.ClientContext> { - $batch: <$SelectionSet>(selectionSet: Utils.Exact<$SelectionSet, SelectionSet.Query<$Context['scalars']>>) => Promise< + export interface QueryMethods<$Context extends $$Utilities.ClientContext> { + $batch: <$SelectionSet>( + selectionSet: $$Utilities.Exact<$SelectionSet, SelectionSet.Query<$Context['scalars']>>, + ) => Promise< Simplify< - Utils.HandleOutput< + $$Utilities.HandleOutput< $Context, - InferResult.Query<$SelectionSet, Schema> + InferResult.Query<$SelectionSet, Schema<$Context['scalars']>> > > > __typename: () => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, { __typename: 'Query' }, '__typename' > > > InputObjectNested: <$SelectionSet>( - selectionSet?: Utils.Exact<$SelectionSet, SelectionSet.Query.InputObjectNested<$Context['scalars']>>, + selectionSet?: $$Utilities.Exact<$SelectionSet, SelectionSet.Query.InputObjectNested<$Context['scalars']>>, ) => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, - InferResult.Query<{ InputObjectNested: $SelectionSet }, Schema>, + InferResult.Query<{ InputObjectNested: $SelectionSet }, Schema<$Context['scalars']>>, 'InputObjectNested'
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field > args - custom scalar - arg field 1` mismatched - Expected + Received @@ -2,20 +2,20 @@ --------------GRAFFLE QUERY------------- { "dateArg": { "$": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } --------GRAPHQL DOCUMENT & VARIABLES-------- query ($date: Date) { dateArg(date: $date) } ---------------- { "$default": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null > args - custom scalar - arg field in non-null 1` mismatched - Expected + Received @@ -2,20 +2,20 @@ --------------GRAFFLE QUERY------------- { "dateArgNonNull": { "$": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } --------GRAPHQL DOCUMENT & VARIABLES-------- query ($date: Date!) { dateArgNonNull(date: $date) } ---------------- { "$default": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in list: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in list > args - custom scalar - arg field in list 1` mismatched - Expected + Received @@ -3,12 +3,12 @@ --------------GRAFFLE QUERY------------- { "dateArgList": { "$": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -17,11 +17,11 @@ } ---------------- { "$default": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list (with list): src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list (with list) > args - custom scalar - arg field in non-null list (with list) 1` mismatched - Expected + Received @@ -3,12 +3,12 @@ --------------GRAFFLE QUERY------------- { "dateArgNonNullList": { "$": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -17,11 +17,11 @@ } ---------------- { "$default": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list (with null): src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list (with null) > args - custom scalar - arg field in non-null list (with null) 1` mismatched - Expected + Received @@ -4,11 +4,11 @@ { "dateArgNonNullList": { "$": { "date": [ null, - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -18,10 +18,10 @@ ---------------- { "$default": { "date": [ null, - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list non-null: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list non-null > args - custom scalar - arg field in non-null list non-null 1` mismatched - Expected + Received @@ -3,12 +3,12 @@ --------------GRAFFLE QUERY------------- { "dateArgNonNullListNonNull": { "$": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -17,11 +17,11 @@ } ---------------- { "$default": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - input object field: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - input object field > args - custom scalar - input object field 1` mismatched - Expected + Received @@ -4,12 +4,12 @@ { "dateArgInputObject": { "$": { "input": { "idRequired": "", - "dateRequired": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", + "dateRequired": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -19,11 +19,11 @@ ---------------- { "$default": { "input": { "idRequired": "", - "dateRequired": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", + "dateRequired": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - nested input object field: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - nested input object field > args - custom scalar - nested input object field 1` mismatched - Expected + Received @@ -5,12 +5,12 @@ "InputObjectNested": { "$": { "input": { "InputObject": { "idRequired": "", - "dateRequired": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", + "dateRequired": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } } } @@ -22,12 +22,12 @@ { "$default": { "input": { "InputObject": { "idRequired": "", - "dateRequired": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", + "dateRequired": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: false; scalars: (none) ) - Query - args - custom scalar - arg field: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: false; scalars: (none) ) - Query - args - custom scalar - arg field > args - custom scalar - arg field 1` mismatched - Expected + Received @@ -2,17 +2,17 @@ --------------GRAFFLE QUERY------------- { "dateArg": { "$": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } --------GRAPHQL DOCUMENT & VARIABLES-------- { - dateArg(date: "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)") + dateArg(date: "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)") } ---------------- { "$default": {} } ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
lint
Process completed with exit code 1.
test unit Node 22 @env node
The job was canceled because "_20_jsdom" failed.
src/generator/generator/generate.test.ts > kitchen-sink generated modules: src/generator/generator/generate.test.ts#L12
Error: Snapshot `kitchen-sink generated modules > modules/MethodsRoot.ts 1` mismatched - Expected + Received "import { type Simplify } from 'type-fest' import type { InferResult } from '../../../../../../src/entrypoints/schema.js' - import type * as Utils from '../../../../../../src/entrypoints/utilities-for-generated.js' + import type * as $$Utilities from '../../../../../../src/entrypoints/utilities-for-generated.js' import type { Schema } from './Schema.js' import type * as SelectionSet from './SelectionSets.js' - export interface MutationMethods<$Context extends Utils.ClientContext> { + export interface MutationMethods<$Context extends $$Utilities.ClientContext> { $batch: <$SelectionSet>( - selectionSet: Utils.Exact<$SelectionSet, SelectionSet.Mutation<$Context['scalars']>>, + selectionSet: $$Utilities.Exact<$SelectionSet, SelectionSet.Mutation<$Context['scalars']>>, ) => Promise< Simplify< - Utils.HandleOutput< + $$Utilities.HandleOutput< $Context, - InferResult.Mutation<$SelectionSet, Schema> + InferResult.Mutation<$SelectionSet, Schema<$Context['scalars']>> > > > __typename: () => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, { __typename: 'Mutation' }, '__typename' > > > id: <$SelectionSet>( - selectionSet?: Utils.Exact<$SelectionSet, SelectionSet.Mutation.id<$Context['scalars']>>, + selectionSet?: $$Utilities.Exact<$SelectionSet, SelectionSet.Mutation.id<$Context['scalars']>>, ) => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, - InferResult.Mutation<{ id: $SelectionSet }, Schema>, + InferResult.Mutation<{ id: $SelectionSet }, Schema<$Context['scalars']>>, 'id' > > > idNonNull: <$SelectionSet>( - selectionSet?: Utils.Exact<$SelectionSet, SelectionSet.Mutation.idNonNull<$Context['scalars']>>, + selectionSet?: $$Utilities.Exact<$SelectionSet, SelectionSet.Mutation.idNonNull<$Context['scalars']>>, ) => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, - InferResult.Mutation<{ idNonNull: $SelectionSet }, Schema>, + InferResult.Mutation<{ idNonNull: $SelectionSet }, Schema<$Context['scalars']>>, 'idNonNull' > > > } - export interface QueryMethods<$Context extends Utils.ClientContext> { - $batch: <$SelectionSet>(selectionSet: Utils.Exact<$SelectionSet, SelectionSet.Query<$Context['scalars']>>) => Promise< + export interface QueryMethods<$Context extends $$Utilities.ClientContext> { + $batch: <$SelectionSet>( + selectionSet: $$Utilities.Exact<$SelectionSet, SelectionSet.Query<$Context['scalars']>>, + ) => Promise< Simplify< - Utils.HandleOutput< + $$Utilities.HandleOutput< $Context, - InferResult.Query<$SelectionSet, Schema> + InferResult.Query<$SelectionSet, Schema<$Context['scalars']>> > > > __typename: () => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, { __typename: 'Query' }, '__typename' > > > InputObjectNested: <$SelectionSet>( - selectionSet?: Utils.Exact<$SelectionSet, SelectionSet.Query.InputObjectNested<$Context['scalars']>>, + selectionSet?: $$Utilities.Exact<$SelectionSet, SelectionSet.Query.InputObjectNested<$Context['scalars']>>, ) => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, - InferResult.Query<{ InputObjectNested: $SelectionSet }, Schema>, + InferResult.Query<{ InputObjectNested: $SelectionSet }, Schema<$Context['scalars']>>, 'InputObjectNested'
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field > args - custom scalar - arg field 1` mismatched - Expected + Received @@ -2,20 +2,20 @@ --------------GRAFFLE QUERY------------- { "dateArg": { "$": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } --------GRAPHQL DOCUMENT & VARIABLES-------- query ($date: Date) { dateArg(date: $date) } ---------------- { "$default": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null > args - custom scalar - arg field in non-null 1` mismatched - Expected + Received @@ -2,20 +2,20 @@ --------------GRAFFLE QUERY------------- { "dateArgNonNull": { "$": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } --------GRAPHQL DOCUMENT & VARIABLES-------- query ($date: Date!) { dateArgNonNull(date: $date) } ---------------- { "$default": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in list: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in list > args - custom scalar - arg field in list 1` mismatched - Expected + Received @@ -3,12 +3,12 @@ --------------GRAFFLE QUERY------------- { "dateArgList": { "$": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -17,11 +17,11 @@ } ---------------- { "$default": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list (with list): src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list (with list) > args - custom scalar - arg field in non-null list (with list) 1` mismatched - Expected + Received @@ -3,12 +3,12 @@ --------------GRAFFLE QUERY------------- { "dateArgNonNullList": { "$": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -17,11 +17,11 @@ } ---------------- { "$default": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list (with null): src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list (with null) > args - custom scalar - arg field in non-null list (with null) 1` mismatched - Expected + Received @@ -4,11 +4,11 @@ { "dateArgNonNullList": { "$": { "date": [ null, - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -18,10 +18,10 @@ ---------------- { "$default": { "date": [ null, - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list non-null: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list non-null > args - custom scalar - arg field in non-null list non-null 1` mismatched - Expected + Received @@ -3,12 +3,12 @@ --------------GRAFFLE QUERY------------- { "dateArgNonNullListNonNull": { "$": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -17,11 +17,11 @@ } ---------------- { "$default": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - input object field: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - input object field > args - custom scalar - input object field 1` mismatched - Expected + Received @@ -4,12 +4,12 @@ { "dateArgInputObject": { "$": { "input": { "idRequired": "", - "dateRequired": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", + "dateRequired": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -19,11 +19,11 @@ ---------------- { "$default": { "input": { "idRequired": "", - "dateRequired": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", + "dateRequired": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - nested input object field: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - nested input object field > args - custom scalar - nested input object field 1` mismatched - Expected + Received @@ -5,12 +5,12 @@ "InputObjectNested": { "$": { "input": { "InputObject": { "idRequired": "", - "dateRequired": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", + "dateRequired": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } } } @@ -22,12 +22,12 @@ { "$default": { "input": { "InputObject": { "idRequired": "", - "dateRequired": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", + "dateRequired": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: false; scalars: (none) ) - Query - args - custom scalar - arg field: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: false; scalars: (none) ) - Query - args - custom scalar - arg field > args - custom scalar - arg field 1` mismatched - Expected + Received @@ -2,17 +2,17 @@ --------------GRAFFLE QUERY------------- { "dateArg": { "$": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } --------GRAPHQL DOCUMENT & VARIABLES-------- { - dateArg(date: "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)") + dateArg(date: "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)") } ---------------- { "$default": {} } ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
test unit Node 20 @env node
The job was canceled because "_20_jsdom" failed.
src/generator/generator/generate.test.ts > kitchen-sink generated modules: src/generator/generator/generate.test.ts#L12
Error: Snapshot `kitchen-sink generated modules > modules/MethodsRoot.ts 1` mismatched - Expected + Received "import { type Simplify } from 'type-fest' import type { InferResult } from '../../../../../../src/entrypoints/schema.js' - import type * as Utils from '../../../../../../src/entrypoints/utilities-for-generated.js' + import type * as $$Utilities from '../../../../../../src/entrypoints/utilities-for-generated.js' import type { Schema } from './Schema.js' import type * as SelectionSet from './SelectionSets.js' - export interface MutationMethods<$Context extends Utils.ClientContext> { + export interface MutationMethods<$Context extends $$Utilities.ClientContext> { $batch: <$SelectionSet>( - selectionSet: Utils.Exact<$SelectionSet, SelectionSet.Mutation<$Context['scalars']>>, + selectionSet: $$Utilities.Exact<$SelectionSet, SelectionSet.Mutation<$Context['scalars']>>, ) => Promise< Simplify< - Utils.HandleOutput< + $$Utilities.HandleOutput< $Context, - InferResult.Mutation<$SelectionSet, Schema> + InferResult.Mutation<$SelectionSet, Schema<$Context['scalars']>> > > > __typename: () => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, { __typename: 'Mutation' }, '__typename' > > > id: <$SelectionSet>( - selectionSet?: Utils.Exact<$SelectionSet, SelectionSet.Mutation.id<$Context['scalars']>>, + selectionSet?: $$Utilities.Exact<$SelectionSet, SelectionSet.Mutation.id<$Context['scalars']>>, ) => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, - InferResult.Mutation<{ id: $SelectionSet }, Schema>, + InferResult.Mutation<{ id: $SelectionSet }, Schema<$Context['scalars']>>, 'id' > > > idNonNull: <$SelectionSet>( - selectionSet?: Utils.Exact<$SelectionSet, SelectionSet.Mutation.idNonNull<$Context['scalars']>>, + selectionSet?: $$Utilities.Exact<$SelectionSet, SelectionSet.Mutation.idNonNull<$Context['scalars']>>, ) => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, - InferResult.Mutation<{ idNonNull: $SelectionSet }, Schema>, + InferResult.Mutation<{ idNonNull: $SelectionSet }, Schema<$Context['scalars']>>, 'idNonNull' > > > } - export interface QueryMethods<$Context extends Utils.ClientContext> { - $batch: <$SelectionSet>(selectionSet: Utils.Exact<$SelectionSet, SelectionSet.Query<$Context['scalars']>>) => Promise< + export interface QueryMethods<$Context extends $$Utilities.ClientContext> { + $batch: <$SelectionSet>( + selectionSet: $$Utilities.Exact<$SelectionSet, SelectionSet.Query<$Context['scalars']>>, + ) => Promise< Simplify< - Utils.HandleOutput< + $$Utilities.HandleOutput< $Context, - InferResult.Query<$SelectionSet, Schema> + InferResult.Query<$SelectionSet, Schema<$Context['scalars']>> > > > __typename: () => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, { __typename: 'Query' }, '__typename' > > > InputObjectNested: <$SelectionSet>( - selectionSet?: Utils.Exact<$SelectionSet, SelectionSet.Query.InputObjectNested<$Context['scalars']>>, + selectionSet?: $$Utilities.Exact<$SelectionSet, SelectionSet.Query.InputObjectNested<$Context['scalars']>>, ) => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, - InferResult.Query<{ InputObjectNested: $SelectionSet }, Schema>, + InferResult.Query<{ InputObjectNested: $SelectionSet }, Schema<$Context['scalars']>>, 'InputObjectNested'
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field > args - custom scalar - arg field 1` mismatched - Expected + Received @@ -2,20 +2,20 @@ --------------GRAFFLE QUERY------------- { "dateArg": { "$": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } --------GRAPHQL DOCUMENT & VARIABLES-------- query ($date: Date) { dateArg(date: $date) } ---------------- { "$default": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null > args - custom scalar - arg field in non-null 1` mismatched - Expected + Received @@ -2,20 +2,20 @@ --------------GRAFFLE QUERY------------- { "dateArgNonNull": { "$": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } --------GRAPHQL DOCUMENT & VARIABLES-------- query ($date: Date!) { dateArgNonNull(date: $date) } ---------------- { "$default": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in list: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in list > args - custom scalar - arg field in list 1` mismatched - Expected + Received @@ -3,12 +3,12 @@ --------------GRAFFLE QUERY------------- { "dateArgList": { "$": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -17,11 +17,11 @@ } ---------------- { "$default": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list (with list): src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list (with list) > args - custom scalar - arg field in non-null list (with list) 1` mismatched - Expected + Received @@ -3,12 +3,12 @@ --------------GRAFFLE QUERY------------- { "dateArgNonNullList": { "$": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -17,11 +17,11 @@ } ---------------- { "$default": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list (with null): src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list (with null) > args - custom scalar - arg field in non-null list (with null) 1` mismatched - Expected + Received @@ -4,11 +4,11 @@ { "dateArgNonNullList": { "$": { "date": [ null, - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -18,10 +18,10 @@ ---------------- { "$default": { "date": [ null, - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list non-null: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list non-null > args - custom scalar - arg field in non-null list non-null 1` mismatched - Expected + Received @@ -3,12 +3,12 @@ --------------GRAFFLE QUERY------------- { "dateArgNonNullListNonNull": { "$": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -17,11 +17,11 @@ } ---------------- { "$default": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - input object field: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - input object field > args - custom scalar - input object field 1` mismatched - Expected + Received @@ -4,12 +4,12 @@ { "dateArgInputObject": { "$": { "input": { "idRequired": "", - "dateRequired": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", + "dateRequired": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -19,11 +19,11 @@ ---------------- { "$default": { "input": { "idRequired": "", - "dateRequired": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", + "dateRequired": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - nested input object field: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - nested input object field > args - custom scalar - nested input object field 1` mismatched - Expected + Received @@ -5,12 +5,12 @@ "InputObjectNested": { "$": { "input": { "InputObject": { "idRequired": "", - "dateRequired": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", + "dateRequired": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } } } @@ -22,12 +22,12 @@ { "$default": { "input": { "InputObject": { "idRequired": "", - "dateRequired": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", + "dateRequired": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: false; scalars: (none) ) - Query - args - custom scalar - arg field: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: false; scalars: (none) ) - Query - args - custom scalar - arg field > args - custom scalar - arg field 1` mismatched - Expected + Received @@ -2,17 +2,17 @@ --------------GRAFFLE QUERY------------- { "dateArg": { "$": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } --------GRAPHQL DOCUMENT & VARIABLES-------- { - dateArg(date: "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)") + dateArg(date: "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)") } ---------------- { "$default": {} } ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
test unit Node 22 @env jsdom
The job was canceled because "_20_jsdom" failed.
src/generator/generator/generate.test.ts > kitchen-sink generated modules: src/generator/generator/generate.test.ts#L12
Error: Snapshot `kitchen-sink generated modules > modules/MethodsRoot.ts 1` mismatched - Expected + Received "import { type Simplify } from 'type-fest' import type { InferResult } from '../../../../../../src/entrypoints/schema.js' - import type * as Utils from '../../../../../../src/entrypoints/utilities-for-generated.js' + import type * as $$Utilities from '../../../../../../src/entrypoints/utilities-for-generated.js' import type { Schema } from './Schema.js' import type * as SelectionSet from './SelectionSets.js' - export interface MutationMethods<$Context extends Utils.ClientContext> { + export interface MutationMethods<$Context extends $$Utilities.ClientContext> { $batch: <$SelectionSet>( - selectionSet: Utils.Exact<$SelectionSet, SelectionSet.Mutation<$Context['scalars']>>, + selectionSet: $$Utilities.Exact<$SelectionSet, SelectionSet.Mutation<$Context['scalars']>>, ) => Promise< Simplify< - Utils.HandleOutput< + $$Utilities.HandleOutput< $Context, - InferResult.Mutation<$SelectionSet, Schema> + InferResult.Mutation<$SelectionSet, Schema<$Context['scalars']>> > > > __typename: () => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, { __typename: 'Mutation' }, '__typename' > > > id: <$SelectionSet>( - selectionSet?: Utils.Exact<$SelectionSet, SelectionSet.Mutation.id<$Context['scalars']>>, + selectionSet?: $$Utilities.Exact<$SelectionSet, SelectionSet.Mutation.id<$Context['scalars']>>, ) => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, - InferResult.Mutation<{ id: $SelectionSet }, Schema>, + InferResult.Mutation<{ id: $SelectionSet }, Schema<$Context['scalars']>>, 'id' > > > idNonNull: <$SelectionSet>( - selectionSet?: Utils.Exact<$SelectionSet, SelectionSet.Mutation.idNonNull<$Context['scalars']>>, + selectionSet?: $$Utilities.Exact<$SelectionSet, SelectionSet.Mutation.idNonNull<$Context['scalars']>>, ) => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, - InferResult.Mutation<{ idNonNull: $SelectionSet }, Schema>, + InferResult.Mutation<{ idNonNull: $SelectionSet }, Schema<$Context['scalars']>>, 'idNonNull' > > > } - export interface QueryMethods<$Context extends Utils.ClientContext> { - $batch: <$SelectionSet>(selectionSet: Utils.Exact<$SelectionSet, SelectionSet.Query<$Context['scalars']>>) => Promise< + export interface QueryMethods<$Context extends $$Utilities.ClientContext> { + $batch: <$SelectionSet>( + selectionSet: $$Utilities.Exact<$SelectionSet, SelectionSet.Query<$Context['scalars']>>, + ) => Promise< Simplify< - Utils.HandleOutput< + $$Utilities.HandleOutput< $Context, - InferResult.Query<$SelectionSet, Schema> + InferResult.Query<$SelectionSet, Schema<$Context['scalars']>> > > > __typename: () => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, { __typename: 'Query' }, '__typename' > > > InputObjectNested: <$SelectionSet>( - selectionSet?: Utils.Exact<$SelectionSet, SelectionSet.Query.InputObjectNested<$Context['scalars']>>, + selectionSet?: $$Utilities.Exact<$SelectionSet, SelectionSet.Query.InputObjectNested<$Context['scalars']>>, ) => Promise< Simplify< - Utils.HandleOutputGraffleRootField< + $$Utilities.HandleOutputGraffleRootField< $Context, - InferResult.Query<{ InputObjectNested: $SelectionSet }, Schema>, + InferResult.Query<{ InputObjectNested: $SelectionSet }, Schema<$Context['scalars']>>, 'InputObjectNested'
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field > args - custom scalar - arg field 1` mismatched - Expected + Received @@ -2,20 +2,20 @@ --------------GRAFFLE QUERY------------- { "dateArg": { "$": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } --------GRAPHQL DOCUMENT & VARIABLES-------- query ($date: Date) { dateArg(date: $date) } ---------------- { "$default": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null > args - custom scalar - arg field in non-null 1` mismatched - Expected + Received @@ -2,20 +2,20 @@ --------------GRAFFLE QUERY------------- { "dateArgNonNull": { "$": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } --------GRAPHQL DOCUMENT & VARIABLES-------- query ($date: Date!) { dateArgNonNull(date: $date) } ---------------- { "$default": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in list: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in list > args - custom scalar - arg field in list 1` mismatched - Expected + Received @@ -3,12 +3,12 @@ --------------GRAFFLE QUERY------------- { "dateArgList": { "$": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -17,11 +17,11 @@ } ---------------- { "$default": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list (with list): src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list (with list) > args - custom scalar - arg field in non-null list (with list) 1` mismatched - Expected + Received @@ -3,12 +3,12 @@ --------------GRAFFLE QUERY------------- { "dateArgNonNullList": { "$": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -17,11 +17,11 @@ } ---------------- { "$default": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list (with null): src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list (with null) > args - custom scalar - arg field in non-null list (with null) 1` mismatched - Expected + Received @@ -4,11 +4,11 @@ { "dateArgNonNullList": { "$": { "date": [ null, - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -18,10 +18,10 @@ ---------------- { "$default": { "date": [ null, - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list non-null: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - arg field in non-null list non-null > args - custom scalar - arg field in non-null list non-null 1` mismatched - Expected + Received @@ -3,12 +3,12 @@ --------------GRAFFLE QUERY------------- { "dateArgNonNullListNonNull": { "$": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -17,11 +17,11 @@ } ---------------- { "$default": { "date": [ - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", - "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", + "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" ] } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - input object field: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - input object field > args - custom scalar - input object field 1` mismatched - Expected + Received @@ -4,12 +4,12 @@ { "dateArgInputObject": { "$": { "input": { "idRequired": "", - "dateRequired": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", + "dateRequired": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } } --------GRAPHQL DOCUMENT & VARIABLES-------- @@ -19,11 +19,11 @@ ---------------- { "$default": { "input": { "idRequired": "", - "dateRequired": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", + "dateRequired": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: true; scalars: (none) ) - Query - args - custom scalar - nested input object field: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: true; scalars: (none) ) - Query - args - custom scalar - nested input object field > args - custom scalar - nested input object field 1` mismatched - Expected + Received @@ -5,12 +5,12 @@ "InputObjectNested": { "$": { "input": { "InputObject": { "idRequired": "", - "dateRequired": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", + "dateRequired": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } } } @@ -22,12 +22,12 @@ { "$default": { "input": { "InputObject": { "idRequired": "", - "dateRequired": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)", + "dateRequired": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)", - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } } " ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts > ( variables: false; scalars: (none) ) - Query - args - custom scalar - arg field: src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts#L55
Error: Snapshot `( variables: false; scalars: (none) ) - Query - args - custom scalar - arg field > args - custom scalar - arg field 1` mismatched - Expected + Received @@ -2,17 +2,17 @@ --------------GRAFFLE QUERY------------- { "dateArg": { "$": { - "date": "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)" + "date": "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)" } } } --------GRAPHQL DOCUMENT & VARIABLES-------- { - dateArg(date: "Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)") + dateArg(date: "Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)") } ---------------- { "$default": {} } ❯ src/layers/3_SelectGraphQLMapper/toGraphQL.test.ts:55:30
lint: src/layers/GlobalRegistry.ts#L1
'IsUnknown' is defined but never used. Allowed unused vars must match /^_/u