Skip to content

Conversation

@Crell
Copy link
Owner

@Crell Crell commented Jul 15, 2025

Description

Folds any union/compound type into a mixed type, which allows it to be handled correctly in most situations.

Motivation and context

Some people use union types when they shouldn't. 😄

Also, some badly designed APIs may send "string or array" type fields. Such APIs are wrong and should be redesigned, but at least now there's an option to work with them.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@Crell Crell changed the title Add support for union and compound tpes Add support for union and compound types Jul 15, 2025
@Crell Crell merged commit 247a437 into master Jul 15, 2025
6 checks passed
@Crell Crell deleted the union-mixed branch July 15, 2025 15:39
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.

2 participants