Skip to content

fix(cjson): accept null in direct unions - #3393

Merged
schani merged 2 commits into
masterfrom
fix/cjson-direct-union-null
Sep 1, 2026
Merged

fix(cjson): accept null in direct unions#3393
schani merged 2 commits into
masterfrom
fix/cjson-direct-union-null

Conversation

@schani

@schani schani commented Aug 31, 2026

Copy link
Copy Markdown
Member

Includes null in generated direct-union type predicates, matching the existing null decode branch.\n\nTests: schema-cjson direct-union.schema

@github-actions

Copy link
Copy Markdown

Generated-output differences

16 files differ — 14 modified, 2 new, 0 deleted
459 changed lines — +426 / −33

Open the generated-output report →

…ion-null

# Conflicts:
#	packages/quicktype-core/src/language/CJSON/CJSONRenderer.ts
#	test/languages.ts
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Generated-output differences

17 files differ — 15 modified, 2 new, 0 deleted
471 changed lines — +434 / −37

Open the generated-output report →

@schani
schani merged commit f24a393 into master Sep 1, 2026
34 checks passed
@schani
schani deleted the fix/cjson-direct-union-null branch September 1, 2026 18:20
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