bagpipes
bagpipes copied to clipboard
debug output that puzzles me
https://github.com/apigee-127/bagpipes/blob/master/lib/bagpipes.js#L219
perhaps you mean
debugContent('output (context[%s]): %j', target, context[target]); ?
I don't think so? What are you seeing?
pipes:content output (context[result]): undefined +3ms
sure it's undefined. the output is in another attribute (result), named in fittingDef.output (seen here + the if sttmt that comes after)
I think that in some cases I even got to see the output of the previous pipe... 😛
The names here are rather confusing. I'd rather fittingDef.output to be fittingDef.outputTo, fittingDef.outputsTo, fittingDef.saveAs, fittingDef.savesAs, fittingDef.target, or even fittingDef.memo, to be compatible with that other fitting, but this output thing is all over the place and ambiguous by nature... :face_with_head_bandage: