Skip to content

Handle union of multiple arrays#1282

Merged
l-trotta merged 1 commit into
mainfrom
handle-union-array-lookahead
Jul 21, 2026
Merged

Handle union of multiple arrays#1282
l-trotta merged 1 commit into
mainfrom
handle-union-array-lookahead

Conversation

@l-trotta

Copy link
Copy Markdown
Contributor

The introduction of RerankInput, an array | array ambiguous union broke the client's deserialization tests, since such unions were unhandled. Adding logic to UnionDeserializer, implementing json lookahead to disambiguate between 2 arrays by checking the members.

@l-trotta
l-trotta merged commit bb58d49 into main Jul 21, 2026
13 checks passed
@l-trotta
l-trotta deleted the handle-union-array-lookahead branch July 21, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant