Skip to content

Commit 80c85e9

Browse files
committed
Add TODO for handling null case
1 parent 16f047f commit 80c85e9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,11 @@ const GlobalIdExtensionsTweakFieldsPlugin: Plugin = (builder, config) => {
224224
.forEach(fk => {
225225
const nodeId = condition[fk.fieldName];
226226

227+
if (nodeId === null) {
228+
// TODO: implement special logic to query where any of the NodeID columns are null
229+
return;
230+
}
231+
227232
if (nodeId === undefined) {
228233
return;
229234
}

0 commit comments

Comments
 (0)