Added project schema feature

This commit is contained in:
Martino Ferrari
2026-01-21 18:26:43 +01:00
parent 92dfa38294
commit 970b5697bd
16 changed files with 327 additions and 33 deletions

View File

@@ -27,10 +27,10 @@ type Validator struct {
Schema *schema.Schema
}
func NewValidator(tree *index.ProjectTree) *Validator {
func NewValidator(tree *index.ProjectTree, projectRoot string) *Validator {
return &Validator{
Tree: tree,
Schema: schema.DefaultSchema(),
Schema: schema.LoadFullSchema(projectRoot),
}
}