-
Improvement
-
Resolution: Unresolved
-
Major
-
4.8.0
-
None
-
None
-
2 - Long term
-
2 - Normal
Currently, to check if a Property has a value, we just check if it is null. But it can also be an empty string, an empty array, or equals to 0 or less for example.
So we should have the hasValue and hasValueOrEmpty methods defined on Property class. It can have a default implementation like:
property.getValue(dataPath) != null