Improve default value filter to support more data types

Created on 22 January 2016, over 8 years ago
Updated 24 June 2024, 4 days ago

Currently the default value filter only works with strings, but it should be able to work with all primitives, dates and durations at least. Then, when it deals with e.g. a date it can apply some default parsing to make it a proper date value; e.g. support timestamps or strtotime().

Besides those data types, of course support for upcasting entities by ID or so would be nice also, but that's another issue imho. (Typed data shouldn't special case entities).

πŸ“Œ Task
Status

Active

Version

2.1

Component

Data filters

Created by

πŸ‡¦πŸ‡ΉAustria fago Vienna

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024