This fixes a bug when a pattern has multiple destinations with multiple sources. The context for every field is always the same, because the context property is set on the same instance during the loop.
My proposed fix is to create a new instance of PatternContext which inherits the properties and then setting the field specific property.
This fixes a bug when a pattern has multiple destinations with multiple sources. The context for every field is always the same, because the context property is set on the same instance during the loop.
My proposed fix is to create a new instance of PatternContext which inherits the properties and then setting the field specific property.