Closed joshhansen closed 3 years ago
Here's a branch trying to implement this, not yet tested: https://github.com/joshhansen/chevron/tree/master_warn
+1 this would be helpful!
I've merged your PR into main and pushed it out in the 0.14.0 release of chevron. Thanks for contributing!
Maybe this defies the Mustache spec, but I wish I could get a warning (or error) if I ever try to do {{variable}} for a variable or expression that doesn't exist at all in the data. I'd be happy to try to add such a thing myself but thought I'd see what the author's guidance might be.