Currently template errors (like missing variables) are only detected during rendering, which makes debugging difficult. I propose adding a template validation feature that checks TemplateMark templates before execution. The validator would analyze the template, extract variable references, and compare them with the Concerto data model. It would report issues such as missing variables, type mismatches, or unused fields. This would improve developer experience and help detect errors earlier in the development process. I’d be happy to work on implementing this along with tests and documentation.
Currently template errors (like missing variables) are only detected during rendering, which makes debugging difficult. I propose adding a template validation feature that checks TemplateMark templates before execution. The validator would analyze the template, extract variable references, and compare them with the Concerto data model. It would report issues such as missing variables, type mismatches, or unused fields. This would improve developer experience and help detect errors earlier in the development process. I’d be happy to work on implementing this along with tests and documentation.