Skip to content

feat: add schema.lua runtime validation module#7

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

feat: add schema.lua runtime validation module#7
mcanouil wants to merge 1 commit intomainfrom
feat/schema-validation

Conversation

@mcanouil
Copy link
Owner

Summary

  • Add the shared schema.lua module to _modules/ for runtime validation of extension options against _schema.yml definitions.
  • Provides type checking, enum validation, defaults, and deprecation warnings.
  • No validation calls wired up yet (no meta options to validate in this extension).

Test plan

  • Verify _modules/schema.lua is present and matches the canonical source.
  • Run quarto render example.qmd and confirm no runtime errors from the new module.

Add the shared schema.lua module for runtime validation of extension
options against _schema.yml definitions.
Provides type checking, enum validation, defaults, and deprecation warnings.
@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
@mcanouil mcanouil added the Type: Enhancement 💡 Issues related to enhancements, improvements, new features, or new analyses label 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