Dedupe directive #4633
Annotations
5 errors and 6 warnings
packages/houdini/src/codegen/generators/definitions/schema.test.ts#L23
Error: Snapshot `adds internal documents to schema 1` mismatched
- Expected
+ Received
@@ -12,12 +12,12 @@
"""@prepend is used to tell the runtime to add the result to the end of the list"""
directive @prepend on FRAGMENT_SPREAD
"""
- @Dedupe is used to prevent an operation from running twice. If the operation is sent
- while there is already one pending and the cancelFirst arg is true, the first one will be canceled instead of the second.
+ @Dedupe is used to prevent an operation from running more than once at the same time.
+ If the cancelFirst arg is set to true, the response already in flight will be canceled instead of the second one.
"""
directive @Dedupe(cancelFirst: Boolean) on QUERY | MUTATION
"""@optimisticKey is used to identify a field as an optimistic key"""
directive @optimisticKey on FIELD
❯ packages/houdini/src/codegen/generators/definitions/schema.test.ts:23:4
|
packages/houdini/src/codegen/generators/definitions/schema.test.ts#L121
Error: Snapshot `list operations are included 1` mismatched
- Expected
+ Received
@@ -12,12 +12,12 @@
"""@prepend is used to tell the runtime to add the result to the end of the list"""
directive @prepend on FRAGMENT_SPREAD
"""
- @Dedupe is used to prevent an operation from running twice. If the operation is sent
- while there is already one pending and the cancelFirst arg is true, the first one will be canceled instead of the second.
+ @Dedupe is used to prevent an operation from running more than once at the same time.
+ If the cancelFirst arg is set to true, the response already in flight will be canceled instead of the second one.
"""
directive @Dedupe(cancelFirst: Boolean) on QUERY | MUTATION
"""@optimisticKey is used to identify a field as an optimistic key"""
directive @optimisticKey on FIELD
❯ packages/houdini/src/codegen/generators/definitions/schema.test.ts:121:4
|
packages/houdini/src/codegen/generators/definitions/schema.test.ts#L238
Error: Snapshot `list operations are included but delete directive should not be in when we have Custom Ids 1` mismatched
- Expected
+ Received
@@ -12,12 +12,12 @@
"""@prepend is used to tell the runtime to add the result to the end of the list"""
directive @prepend on FRAGMENT_SPREAD
"""
- @Dedupe is used to prevent an operation from running twice. If the operation is sent
- while there is already one pending and the cancelFirst arg is true, the first one will be canceled instead of the second.
+ @Dedupe is used to prevent an operation from running more than once at the same time.
+ If the cancelFirst arg is set to true, the response already in flight will be canceled instead of the second one.
"""
directive @Dedupe(cancelFirst: Boolean) on QUERY | MUTATION
"""@optimisticKey is used to identify a field as an optimistic key"""
directive @optimisticKey on FIELD
❯ packages/houdini/src/codegen/generators/definitions/schema.test.ts:238:4
|
packages/houdini/src/codegen/generators/definitions/schema.test.ts#L368
Error: Snapshot `writing twice doesn't duplicate definitions 1` mismatched
- Expected
+ Received
@@ -12,12 +12,12 @@
"""@prepend is used to tell the runtime to add the result to the end of the list"""
directive @prepend on FRAGMENT_SPREAD
"""
- @Dedupe is used to prevent an operation from running twice. If the operation is sent
- while there is already one pending and the cancelFirst arg is true, the first one will be canceled instead of the second.
+ @Dedupe is used to prevent an operation from running more than once at the same time.
+ If the cancelFirst arg is set to true, the response already in flight will be canceled instead of the second one.
"""
directive @Dedupe(cancelFirst: Boolean) on QUERY | MUTATION
"""@optimisticKey is used to identify a field as an optimistic key"""
directive @optimisticKey on FIELD
❯ packages/houdini/src/codegen/generators/definitions/schema.test.ts:368:4
|
|
The following actions uses node12 which is deprecated and will be forced to run on node16: pnpm/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, pnpm/[email protected], actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
This job failed
Loading