You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when trying to access an inexistent value from a template the full rendering throw an exception.
In some case with large template it would be interesting to render the template even if there is any not found values.
The not found values could then be rendered as empty string or fixed constant.
Today to get this behaviour we have to explicitly use the default function for every single variable in the template.
This could be added as an option to Environment such as set_throw_at_missing_includes
Is there any possibilities to add this function ?
The text was updated successfully, but these errors were encountered:
Currently, when trying to access an inexistent value from a template the full rendering throw an exception.
In some case with large template it would be interesting to render the template even if there is any not found values.
The not found values could then be rendered as empty string or fixed constant.
Today to get this behaviour we have to explicitly use the
default
function for every single variable in the template.This could be added as an option to
Environment
such asset_throw_at_missing_includes
Is there any possibilities to add this function ?
The text was updated successfully, but these errors were encountered: