Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/sdk/codegen.sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ hooks:
config:
documentFile: ./_generated_documents
dedupeFragments: true
# graphql-js v15's OverlappingFieldsCanBeMerged rule incorrectly flags field type conflicts between
# distinct concrete types in a union (e.g. differing nullability on `args` subfields across
# AiConversation*ToolCall types). These can never overlap at runtime. Fixed in graphql-js v16+.
skipDocumentsValidation:
ignoreRules:
- OverlappingFieldsCanBeMerged
skipComments:
- "[Internal]"
- "[INTERNAL]"
Expand Down
3 changes: 3 additions & 0 deletions packages/sdk/codegen.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ hooks:
- prettier --write
config:
dedupeFragments: true
skipDocumentsValidation:
ignoreRules:
- OverlappingFieldsCanBeMerged
skipComments:
- "[Internal]"
- "[INTERNAL]"
Expand Down