Skip to content

[codex] Fix property validation for generated types#94

Merged
ehennestad merged 1 commit intomainfrom
codex/apply-pipeline-bugfixes-build
Apr 28, 2026
Merged

[codex] Fix property validation for generated types#94
ehennestad merged 1 commit intomainfrom
codex/apply-pipeline-bugfixes-build

Conversation

@ehennestad
Copy link
Copy Markdown
Collaborator

@ehennestad ehennestad commented Apr 28, 2026

Summary

Updates generated openMINDS MATLAB type classes so property validation reflects the intended cardinality rules:

  • combines multiple validators when multiple constraints exists
  • uses mustBeScalarOrEmpty for optional scalar properties
  • adds mustBeMinLength(..., 1) to list properties that must not be empty
  • applies the generated validation changes across the latest and versioned schema type files

Property validation is no more faithful to original schemas after fixing bugs in the build pipeline
@ehennestad ehennestad marked this pull request as ready for review April 28, 2026 20:12
@ehennestad ehennestad merged commit fc08fda into main Apr 28, 2026
1 of 3 checks 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