Skip to content

chore: version packages - #96

Merged
TheAsda merged 1 commit into
masterfrom
changeset-release/master
Oct 17, 2026
Merged

TheAsda merged 1 commit into
masterfrom
changeset-release/master

Conversation

@TheAsda

@TheAsda TheAsda commented Oct 17, 2026

Copy link
Copy Markdown
Owner

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

genoc@0.5.2

Patch Changes

  • 7a29f34: Concrete discriminator bases now join their own {Base}Variant unions. Previously, refs to a base with no oneOf/anyOf (or listed in its own mapping) could name an undeclared union type, a self-mapped base collapsed its children to never through conflicting discriminant literals, and mapping-children-only families omitted the base from its own union. Variants of a concrete base now strip the discriminant via Omit<Base, '$disc'>, implicit direct-allOf children count as variants, and families with no members fall back to bare base names instead of emitting an unused union. Generated output shape changes for specs with concrete discriminator bases: existing variant unions gain the base as a member. Fixes Discriminator families with a concrete base: undeclared {Base}Variant, never-typed children, base missing from its union #93.

@TheAsda
TheAsda merged commit eea9184 into master Oct 17, 2026
5 checks passed
@TheAsda
TheAsda deleted the changeset-release/master branch October 17, 2026 16:46
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.

Discriminator families with a concrete base: undeclared {Base}Variant, never-typed children, base missing from its union

1 participant