Skip to content

feat: integrate schema.lua runtime validation#15

Open
mcanouil wants to merge 1 commit intomainfrom
feat/schema-validation
Open

feat: integrate schema.lua runtime validation#15
mcanouil wants to merge 1 commit intomainfrom
feat/schema-validation

Conversation

@mcanouil
Copy link
Owner

Summary

  • Add the shared schema.lua module to _modules/.
  • Wire up schema.validate_options() to validate extension options against _schema.yml at runtime.
  • Validation logs errors and warnings for invalid configuration (Tier 2 integration: error reporting only, existing option-reading code preserved).

Test plan

  • Run quarto render example.qmd and confirm no runtime errors.
  • Verify that valid options produce no warnings.
  • Test with intentionally invalid options and verify error/warning messages are logged.

Add the shared schema.lua module and wire up validate_options
to validate extension options against _schema.yml at runtime.
Validation logs errors and warnings for invalid configuration.
@mcanouil mcanouil added the Type: Enhancement 💡 Issues related to enhancements, improvements, new features, or new analyses label Feb 17, 2026
@mcanouil mcanouil self-assigned this Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Enhancement 💡 Issues related to enhancements, improvements, new features, or new analyses

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant