first step (#15687)
TODO : -> for test integreation for this connect ✅ -> add validation in common API Fixes https://github.com/twentyhq/core-team-issues/issues/1278
This commit is contained in:
+1
-5
@@ -180,11 +180,7 @@ export class RelationFieldMetadataGqlInputTypeGenerator {
|
||||
>;
|
||||
typeOptions: TypeOptions;
|
||||
}) {
|
||||
if (
|
||||
fieldMetadata.settings?.relationType === RelationType.ONE_TO_MANY ||
|
||||
//TODO : Enable connect on morph relation - @guillim
|
||||
fieldMetadata.type === FieldMetadataType.MORPH_RELATION
|
||||
) {
|
||||
if (fieldMetadata.settings?.relationType === RelationType.ONE_TO_MANY) {
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user