Skip to content

Indexer auto-injects __typename for inherited indexes#1073

Open
marcdaniels-toast wants to merge 1 commit intoblock:mainfrom
marcdaniels-toast:mdaniels/issue-1029/indexer-changes
Open

Indexer auto-injects __typename for inherited indexes#1073
marcdaniels-toast wants to merge 1 commit intoblock:mainfrom
marcdaniels-toast:mdaniels/issue-1029/indexer-changes

Conversation

@marcdaniels-toast
Copy link
Contributor

Automatically add __typename to records when indexing via union/interface indexes, ensuring proper type discrimination in mixed-type indexes. The field is injected only when required by the index mapping and absent from the input record, while types with direct indexes continue to omit it.

Part of Issue #1054

Automatically add `__typename` to records when indexing via union/interface indexes, ensuring proper type discrimination in mixed-type indexes. The field is injected only when required by the index mapping and absent from the input record, while types with direct indexes continue to omit it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant