diff --git a/src/EntityGraphQL/Compiler/Util/ArgumentUtil.cs b/src/EntityGraphQL/Compiler/Util/ArgumentUtil.cs index 057221e0..586dd6e5 100644 --- a/src/EntityGraphQL/Compiler/Util/ArgumentUtil.cs +++ b/src/EntityGraphQL/Compiler/Util/ArgumentUtil.cs @@ -22,6 +22,11 @@ public static class ArgumentUtil List validationErrors ) { + if (argumentsType == null) + { + return new(); + } + // get the values for the argument anonymous type object constructor var values = new Dictionary(StringComparer.OrdinalIgnoreCase);