Skip to content

Commit 4f7452c

Browse files
committed
Adjust to RC9 of PostGraphile
1 parent 272490e commit 4f7452c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ where ${sqlKeysMatch(localAlias, remoteAlias)}
419419
continue;
420420

421421
// Must have only one required argument
422-
if (resource.parameters.slice(1).some((p) => p.required))
422+
if (resource.parameters.slice(1).some((p) => !p.optional))
423423
continue;
424424

425425
let underlyingCodec = resource.codec;

0 commit comments

Comments
 (0)