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

add support for chainable undefined #39

Open
marc-portier opened this issue May 4, 2022 · 0 comments
Open

add support for chainable undefined #39

marc-portier opened this issue May 4, 2022 · 0 comments
Milestone

Comments

@marc-portier
Copy link
Member

looking at pallets/jinja#997
(as found in https://stackoverflow.com/questions/19614027/jinja2-template-variable-if-none-object-set-a-default-value)

we could be adding the ChainableUndefined to allow for flexible template-writing that introduces _.top.sub | default('if top or sub where not there') in stead of requiring template-writers to be doing lots of protective if exists testing

@marc-portier marc-portier added this to the 0.2. milestone May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant