Closed h4kuna closed 4 years ago
Idea is good. This could be already done without Rowable
interface. DummyRow extends Row
and you can returning still Row
. In the future, we can update Row
, so it could be easily manually created, but it's already possbile now. I'm planning discuss this funcionality internally and we will see then. Thanks.
The goal is create Empty object if data is not defined.
Example:
Actual behavior, we must define nullabble return type
Model:
Presenter:
This update allow this: return object everytime
Presenter: