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
Standard usecase: Render a list, but show something different when that list is empty.
Other imagined usecase: An Option can be iterated over for the Some(_) case, it makes sense to have this syntax work for the None case. Similarly for Result.
When using a Result in a negative section, maybe expose the Err(_) value as {{.}}?
The text was updated successfully, but these errors were encountered:
Imagined syntax:
{{^field}}
...{{/field}}
Standard usecase: Render a list, but show something different when that list is empty.
Other imagined usecase: An
Option
can be iterated over for theSome(_)
case, it makes sense to have this syntax work for theNone
case. Similarly forResult
.When using a
Result
in a negative section, maybe expose theErr(_)
value as{{.}}
?The text was updated successfully, but these errors were encountered: