accordproject / template-playground

Web Playground for TemplateMark templates
https://playground.accordproject.org
Apache License 2.0
17 stars 19 forks source link

Should #clause block also be an implicit undefined check? #3

Open dselman opened 1 year ago

dselman commented 1 year ago

What does {{#clause order}} do when order is undefined?

Today we have to add a condition property to explicitly check for undefined. I think users will expect this to be automatic.

Context

Expected Behavior

Actual Behavior

Possible Fix

Steps to Reproduce

1. 2. 3. 4.

Existing issues

Context

Your Environment