The requirement of wrapping expressions in parenthesis is to ensure string values are not mistaken for a path to a function. This ensures full backwards compatibility.
I have also modified some of the tests to verify this new capability, and incremented the version number
Before
Giving a field a default value that isn't the same as that type's
Default
required users to define a function for each field.Now
Constant expressions may also be used, so long as they are wrapped in parenthesis
The requirement of wrapping expressions in parenthesis is to ensure string values are not mistaken for a path to a function. This ensures full backwards compatibility.
I have also modified some of the tests to verify this new capability, and incremented the version number