foam-framework / foam

Feature-Oriented Active Modeller
Apache License 2.0
787 stars 55 forks source link

MAP(someModel.PROP) will put invalid or null values to the sink #378

Closed jacksonic closed 8 years ago

jacksonic commented 8 years ago

If not every object in the source DAO has a value, MAP will still by default attempt to put all values to the sink, including ones mapped to null or non-objects.

jacksonic commented 8 years ago

Fixed in c2d3ba92b63e836d778a71ac4d4e68bec1594d60

jacksonic commented 8 years ago

After discussion, changing back to a separate filter mlang, NOT_NULL. Sinks are allowed to accept nulls, even if DAOs are not expected to.

jacksonic commented 8 years ago

Removing NOT_NULL, should be more of an IS_OBJECT, but leaving that out of core for now.