From 088fea0e154b3fa673627b4b745307b39c2d96a9 Mon Sep 17 00:00:00 2001 From: "Sherjan, Haroon" <35983762+haroonsherjan@users.noreply.github.com> Date: Wed, 10 Jan 2024 14:22:38 -0500 Subject: [PATCH] Add RoutingStrategy method for backwards compatibility (#2533) --- .../src/main/resources/core/pure/router/store/routing.pure | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/legend-engine-pure/legend-engine-pure-code/legend-engine-pure-code-compiled-core/src/main/resources/core/pure/router/store/routing.pure b/legend-engine-pure/legend-engine-pure-code/legend-engine-pure-code-compiled-core/src/main/resources/core/pure/router/store/routing.pure index 6f4db50c653..618fc7eb671 100644 --- a/legend-engine-pure/legend-engine-pure-code/legend-engine-pure-code-compiled-core/src/main/resources/core/pure/router/store/routing.pure +++ b/legend-engine-pure/legend-engine-pure-code/legend-engine-pure-code-compiled-core/src/main/resources/core/pure/router/store/routing.pure @@ -31,6 +31,10 @@ import meta::pure::runtime::*; // ========================================================================================= // Store Mapping Routing Strategy Builder Helper // ========================================================================================= +function meta::pure::router::store::routing::getRoutingStrategyFromMappingAndRuntime(mapping:Mapping[1], runtime:Runtime[1]):StoreMappingRoutingStrategy[1] +{ + getRoutingStrategyFromMappingAndRuntime($mapping, $runtime, []); +} function meta::pure::router::store::routing::getRoutingStrategyFromMappingAndRuntime(mapping:Mapping[1], runtime:Runtime[1], extensions: Extension[*]):StoreMappingRoutingStrategy[1] {