Skip to content

Improve MaterialProperties validation#29

Merged
CZDanol merged 3 commits into
OpenPrintTag:mainfrom
CZDanol:material-properties-fix
Jun 9, 2026
Merged

Improve MaterialProperties validation#29
CZDanol merged 3 commits into
OpenPrintTag:mainfrom
CZDanol:material-properties-fix

Conversation

@CZDanol

@CZDanol CZDanol commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

CZDanol added 3 commits June 9, 2026 12:55
The all_field_names was computed wrong.
Make FFFMaterialProperties and SLAMaterialProperties inherit from MaterialProperties and enforce the evaluation on the higher level through `allOf`.

This way, if a required property is missing, we will get a proper error instead of cryptic "unevaluated properties"
@ondratu ondratu force-pushed the material-properties-fix branch from e9b3bc3 to 0bdbbbc Compare June 9, 2026 10:55
@CZDanol CZDanol merged commit efe1a98 into OpenPrintTag:main Jun 9, 2026
4 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.

2 participants