From 0f589d3fde28dae7047ca4e4022077d2c8a5d14b Mon Sep 17 00:00:00 2001 From: "Sherjan, Haroon" <35983762+haroonsherjan@users.noreply.github.com> Date: Mon, 23 Oct 2023 15:31:09 -0400 Subject: [PATCH] Fix PureSingleExecution instantiation in ServiceBuilder (#2403) --- .../dsl/service/compiler/toPureGraph/HelperServiceBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legend-engine-xts-service/legend-engine-language-pure-dsl-service/src/main/java/org/finos/legend/engine/language/pure/dsl/service/compiler/toPureGraph/HelperServiceBuilder.java b/legend-engine-xts-service/legend-engine-language-pure-dsl-service/src/main/java/org/finos/legend/engine/language/pure/dsl/service/compiler/toPureGraph/HelperServiceBuilder.java index 260d2416306..8ab30fa39f8 100644 --- a/legend-engine-xts-service/legend-engine-language-pure-dsl-service/src/main/java/org/finos/legend/engine/language/pure/dsl/service/compiler/toPureGraph/HelperServiceBuilder.java +++ b/legend-engine-xts-service/legend-engine-language-pure-dsl-service/src/main/java/org/finos/legend/engine/language/pure/dsl/service/compiler/toPureGraph/HelperServiceBuilder.java @@ -97,7 +97,7 @@ public static Root_meta_legend_service_metamodel_Execution processServiceExecuti { lambda = HelperValueSpecificationBuilder.buildLambda(pureSingleExecution.func, context); } - return new Root_meta_legend_service_metamodel_PureSingleExecution_Impl("", null, context.pureModel.getClass("meta::legend::service::metamodel::PureMultiExecution")) + return new Root_meta_legend_service_metamodel_PureSingleExecution_Impl("", null, context.pureModel.getClass("meta::legend::service::metamodel::PureSingleExecution")) ._func(lambda) ._mapping(mapping) ._runtime(runtime);