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 4293614691..8acf71f3d0 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 @@ -57,7 +57,7 @@ function <> meta::pure::router::store::routing::modifyMappingBas let inScopeStores = $inScopeClassMappings->map(setImpl | meta::pure::router::clustering::storeContractForSetImplementation($setImpl, $mapping, $extensions).second); if( $runtime.connectionStores->size() >= 1, - | let connection = $inScopeStores->map(s|$runtime.connectionByElement($s))->distinct(); + | let connection = $inScopeStores->map(s|$runtime->connectionByElement($s))->distinct(); if( $connection->size() == 1, | $connection->toOne()->match(