Closed gmpassos closed 3 years ago
Can we have a warning or exception when calling build(), and know that flatten() was called in a node that calls map() in his sub-tree?
I don't think that we need to change the actual flatten() behavior, but any map() call is overwritten by flatten() and this should be notified.
Maybe a strict mode?:
.build(strict: true)
Related to #105.
Can we have a warning or exception when calling build(), and know that flatten() was called in a node that calls map() in his sub-tree?
I don't think that we need to change the actual flatten() behavior, but any map() call is overwritten by flatten() and this should be notified.
Maybe a strict mode?:
.build(strict: true)