fixup tests #365
Annotations
5 errors and 1 warning
test/typecheck/query.test-d.ts > fetch > schemaful > can include relationships:
packages/db/test/typecheck/query.test-d.ts#L409
TypeCheckError: Type '{ relationOne { id string; } | null; relationMany Map<string, { id string; }>; relationById { id string; } | null; random Map<string, { id string; }>; }' does not satisfy the constraint '{ relationOne { id string; } | null; relationMany { [iterator] () => IterableIterator<[string, { id string; }]>; forEach (callbackfn (value { id string; }, key string, map Map<...>) => void, thisArg? any) => void; ... 9 more ...; size number; }; relationById { ...; } | null; random never; }'.
❯ test/typecheck/query.test-d.ts:409:63
|
test/typecheck/query.test-d.ts > fetch > schemaful > can include relationships:
packages/db/test/typecheck/query.test-d.ts#L409
TypeCheckError: Type '{ relationOne { id string; } | null; relationMany Map<string, { id string; }>; relationById { id string; } | null; random Map<string, { id string; }>; }' does not satisfy the constraint '{ relationOne { id string; } | null; relationMany { [iterator] () => IterableIterator<[string, { id string; }]>; forEach (callbackfn (value { id string; }, key string, map Map<...>) => void, thisArg? any) => void; ... 9 more ...; size number; }; relationById { ...; } | null; random never; }'.
Types of property 'random' are incompatible.
Type 'Map<string, { id string; }>' is not assignable to type 'never'.
❯ test/typecheck/query.test-d.ts:409:63
|
test/typecheck/query.test-d.ts > fetch > schemaful > can include relationships:
packages/db/test/typecheck/query.test-d.ts#L418
TypeCheckError: Type '{ relationOne { id string; } | null; relationMany Map<string, { id string; }>; relationById { id string; } | null; random Map<string, { id string; }>; }' does not satisfy the constraint '{ relationOne { id string; } | null; relationMany { [iterator] () => IterableIterator<[string, { id string; }]>; forEach (callbackfn (value { id string; }, key string, map Map<...>) => void, thisArg? any) => void; ... 9 more ...; size number; }; relationById { ...; } | null; random never; }'.
❯ test/typecheck/query.test-d.ts:418:63
|
test/typecheck/query.test-d.ts > fetch > schemaful > can include relationships:
packages/db/test/typecheck/query.test-d.ts#L418
TypeCheckError: Type '{ relationOne { id string; } | null; relationMany Map<string, { id string; }>; relationById { id string; } | null; random Map<string, { id string; }>; }' does not satisfy the constraint '{ relationOne { id string; } | null; relationMany { [iterator] () => IterableIterator<[string, { id string; }]>; forEach (callbackfn (value { id string; }, key string, map Map<...>) => void, thisArg? any) => void; ... 9 more ...; size number; }; relationById { ...; } | null; random never; }'.
Types of property 'random' are incompatible.
Type 'Map<string, { id string; }>' is not assignable to type 'never'.
❯ test/typecheck/query.test-d.ts:418:63
|
test
Process completed with exit code 1.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|