Skip to content

Skip collection defaults in the scalar Rust converter - #40

Merged
rmcfadden merged 1 commit into
mainfrom
feat/collection-field-defaults
Oct 19, 2026
Merged

rmcfadden merged 1 commit into
mainfrom
feat/collection-field-defaults

Conversation

@rmcfadden

Copy link
Copy Markdown
Contributor

Summary

  • rustSpecDefaultExpr ignores null, arrays, and objects so collection defaults do not go through the primitive converter.

Test plan

  • npm test / convert-then-map typecheck
  • CI

Made with Cursor

Empty arrays, objects, and null stay off the primitive default path so type-checking matches the widened parser union.

Co-authored-by: Cursor <cursoragent@cursor.com>
@rmcfadden
rmcfadden merged commit 8061aaf into main Oct 19, 2026
1 check passed
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