For any chaining implementation for puposes like piping (similar to Java servlet filter chain), if I need to, how do I pass context between filters?/steps?
Also, does it violate the design principle because now I am introducing states and coupling the chain steps using states. (One chain step depends on another step that introduces an attribute)
Should I be considering some other pattern to do the needful?