a bug was introduced by #283 that caused a regression in template methods working as expected.
Description
PR #283 introduced a bug where the TemplatePrimitiveCollector was not being persisted after each TemplatePrimitiveInjector.
This resulted in TemplateMethodInjector not being able to access the TemplatePrimitives that had been created by LibraryStepInjector.
The fix was to update the TemplatePrimitiveInjector.invoke$ method so that the updated TemplatePrimitiveCollector is persisted on the WorkflowRun after each injector is invoked.
How Has This Been Tested
reproduced the bug both manually and in unit tests.
confirmed that the change fixes both.
PR Details
fixes #291
a bug was introduced by #283 that caused a regression in template methods working as expected.
Description
PR #283 introduced a bug where the
TemplatePrimitiveCollector
was not being persisted after eachTemplatePrimitiveInjector
.This resulted in
TemplateMethodInjector
not being able to access theTemplatePrimitives
that had been created byLibraryStepInjector
.The fix was to update the
TemplatePrimitiveInjector.invoke$
method so that the updatedTemplatePrimitiveCollector
is persisted on theWorkflowRun
after each injector is invoked.How Has This Been Tested
reproduced the bug both manually and in unit tests. confirmed that the change fixes both.
Types of Changes
Checklist