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
It would be very handy to have a #asNullIfEmpty{...} operation to convert an empty string into a null value.
People may want to use it together with the #property{} conversion specifier to return null instead of an empty string when the property is not defined. For instance, assuming the "foo" property is not defined, the following configuration:
brenuart
changed the title
PatternJsonProvider: provide a "#nullIfEmpty{}" operation
PatternJsonProvider: provide a "#asNullIfEmpty{}" operation
Mar 12, 2022
It would be very handy to have a
#asNullIfEmpty{...}
operation to convert an empty string into anull
value.People may want to use it together with the
#property{}
conversion specifier to returnnull
instead of an empty string when the property is not defined. For instance, assuming the "foo" property is not defined, the following configuration:... would produce a result like this:
The text was updated successfully, but these errors were encountered: