Background
The Evidence contained in FlowData is no completely immutable, though it is recommended in the specs.
The SequenceElement adds evidence during processing. It should instead use its own ElementData.
Proposed Changes
- Make the Evidence immutable once the
Process method is called,
- Change
SequenceElement to write to an ElementData instead of the Evidence,
- Add a helper method which fetches the sequence from either the output of
SequenceElement or the evidence,
- Change any dependencies on
SequenceElement results to use the helper, not the evidence.
For recommended implementation, see https://github.com/51Degrees/specifications/blob/main/pipeline-specification/features/evidence.md#adding-evidence-values
Background
The Evidence contained in
FlowDatais no completely immutable, though it is recommended in the specs.The
SequenceElementadds evidence during processing. It should instead use its ownElementData.Proposed Changes
Processmethod is called,SequenceElementto write to anElementDatainstead of the Evidence,SequenceElementor the evidence,SequenceElementresults to use the helper, not the evidence.For recommended implementation, see https://github.com/51Degrees/specifications/blob/main/pipeline-specification/features/evidence.md#adding-evidence-values