From 9ba653643f0ef030cc6e5953705c2bb15a67d237 Mon Sep 17 00:00:00 2001 From: Eliav Maimon <135841794+Eliav-Maimon@users.noreply.github.com> Date: Tue, 3 Dec 2024 10:56:10 +0200 Subject: [PATCH] fix: change sourceId to be nullable (#242) --- src/models/polygonParts/polygonPartRecord.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/models/polygonParts/polygonPartRecord.ts b/src/models/polygonParts/polygonPartRecord.ts index 0a9208d..cce8769 100644 --- a/src/models/polygonParts/polygonPartRecord.ts +++ b/src/models/polygonParts/polygonPartRecord.ts @@ -45,7 +45,9 @@ export class PolygonPartRecord implements IPolygonPart, IOrmCatalog { @tsTypes({ mappingType: TsTypes.STRING, }) - @graphql() + @graphql({ + nullable: true, + }) @fieldConfig({ category: FieldCategory.MAIN, })