Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow if statement check to be configurable #19

Open
rossmacarthur opened this issue May 23, 2023 · 0 comments
Open

Allow if statement check to be configurable #19

rossmacarthur opened this issue May 23, 2023 · 0 comments
Labels
feature New feature or request

Comments

@rossmacarthur
Copy link
Owner

I think it's a good idea to have this be a configurable setting, whichever the default may be. Off the top of my head, there could be a BooleanEval enum with Strict, Truthy, and Custom(Box<dyn Fn(expr, span) -> Result<bool, Error>>) that the user can set on the Engine? Or should this be another template-specific setting (#15)?

Originally posted by @lunabunn in #17 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant