Skip to content

Add support for Union properties - #102

Open
mikee47 wants to merge 24 commits into
developfrom
feature/union-props
Open

Add support for Union properties#102
mikee47 wants to merge 24 commits into
developfrom
feature/union-props

Conversation

@mikee47

@mikee47 mikee47 commented Aug 19, 2026

Copy link
Copy Markdown
Owner

Currently, unions (defined using oneOf) may only contain objects. This PR rectifieds that to allow a mix of both Objects and Properties.

TODO:

  • Support default for properties such that toXXX() configures the appropriate default value. Currently only the union default is applied.
  • Review tests and ensure both streaming import/export are covered
  • Verify tests on esp8266, compare performance and fix any regressions
  • Update documentation

@mikee47 mikee47 mentioned this pull request Aug 20, 2026
1 task
@mikee47
mikee47 force-pushed the feature/union-props branch 3 times, most recently from 985b763 to 8b98586 Compare August 23, 2026 15:00
@mikee47
mikee47 force-pushed the feature/union-props branch 2 times, most recently from f64d946 to d50f9c0 Compare August 26, 2026 08:26
@mikee47
mikee47 force-pushed the feature/union-props branch from d50f9c0 to 37bd0dd Compare August 26, 2026 10:16
@mikee47
mikee47 force-pushed the feature/union-props branch 2 times, most recently from db61277 to 6d33369 Compare August 26, 2026 15:07
@mikee47
mikee47 force-pushed the feature/union-props branch from 6d33369 to 842edbb Compare August 26, 2026 15:26
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