Skip to content

Commit

Permalink
Localize XStoreAssociations based on Runtime Locality
Browse files Browse the repository at this point in the history
  • Loading branch information
haroonsherjan committed Nov 20, 2023
1 parent c17c6db commit 3a0b506
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function <<access.private>> 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(
Expand Down

0 comments on commit 3a0b506

Please sign in to comment.