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
The template can't be rendered if the variable it refers to is missing in the data. This is different from mustache, where "If the top context is reached and the name key is still not found, nothing will be rendered."
This behavior is confusing and deserves mention in the documentation.
Ideally, it should suggest how to make conditional rendering possible.
Use Case
variable is missing in the data but mentioned in the template
Proposed Solution
No response
Other Information
No response
Acknowledgements
I may be able to implement this feature request
This feature might incur a breaking change
Version used
0.2.0
Environment details (OS name and version, etc.)
any
The text was updated successfully, but these errors were encountered:
Describe the feature
The template can't be rendered if the variable it refers to is missing in the data. This is different from mustache, where "If the top context is reached and the name key is still not found, nothing will be rendered."
This behavior is confusing and deserves mention in the documentation.
Ideally, it should suggest how to make conditional rendering possible.
Use Case
variable is missing in the data but mentioned in the template
Proposed Solution
No response
Other Information
No response
Acknowledgements
Version used
0.2.0
Environment details (OS name and version, etc.)
any
The text was updated successfully, but these errors were encountered: