Skip to content

Skip union types, only add a single type or a nullable one - #55

Merged
TomasVotruba merged 1 commit into
mainfrom
no-union-types
Nov 15, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
no-union-types

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Two or more different types reaching one parameter are now treated as ambiguous and the parameter is left untyped. Only a single type, or a single type plus null, is added.

  • aggregate.Resolve drops groups with more than one non-null member
  • --objects no longer adds object-only unions like \Foo|\Bar
  • tests and docs updated

@TomasVotruba
TomasVotruba merged commit 9c05298 into main Nov 15, 2026
4 checks passed
@TomasVotruba
TomasVotruba deleted the no-union-types branch November 15, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant