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 problem I'm running into is that if I have an empty string on any of the lower level objects' property, the outermost context's value is fetched. I understand the reasons for walking up the context tree (although I can't find it explained in the documentation!). However, I think an empty string is an explicit statement that "this is empty". Making empty strings truthy would also make template rendering more consistent across platforms.
The text was updated successfully, but these errors were encountered:
I have data objects that follow standard formats... ie, common property names at all levels:
{
title: 'level one',
description: 'level one description',
children: [
{
title: 'level two',
desc: 'level two description'
}
]
}
The problem I'm running into is that if I have an empty string on any of the lower level objects' property, the outermost context's value is fetched. I understand the reasons for walking up the context tree (although I can't find it explained in the documentation!). However, I think an empty string is an explicit statement that "this is empty". Making empty strings truthy would also make template rendering more consistent across platforms.
The text was updated successfully, but these errors were encountered: