workflow icon indicating copy to clipboard operation
workflow copied to clipboard

Change the api of Transformers.

Open havardh opened this issue 6 years ago • 0 comments

With the discussion in https://github.com/havardh/workflow/pull/139#discussion_r216442751 we would like to consider to change the API of transformers to explicitly return values for noop instead of the current implicit return falsy.

We must however take it into consideration that it might be a valid response from a transformer to cull subtrees by returning either null or undefined.

havardh avatar Sep 10 '18 20:09 havardh