From 257a42aca2d262bda63aff1b20b5891f918dd117 Mon Sep 17 00:00:00 2001 From: Taras Dubyk Date: Wed, 25 Sep 2024 18:16:01 +0300 Subject: [PATCH] use primary or unique constraint for relationship parent field (#153) --- package.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a41669a6..87712164 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,14 @@ "disableDenormalization": true, "enableComplexTypesNormalization": true, "relationships": { - "compositeRelationships": true + "compositeRelationships": { + "allowRelationshipsByProperties": [ + "primaryKey", + "unique", + "compositeUniqueKey", + "compositePrimaryKey" + ] + } }, "FEScriptCommentsSupported": true, "disableJsonDataMaxLength": true,