We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MergeArgumentDefinitions
1 parent e9404ee commit 363907aCopy full SHA for 363907a
src/HotChocolate/Fusion-vnext/src/Fusion.Composition/SourceSchemaMerger.cs
@@ -151,8 +151,7 @@ private static MutableInputFieldDefinition MergeArguments(
151
ImmutableArray<FieldArgumentInfo> argumentGroup,
152
MutableSchemaDefinition mergedSchema)
153
{
154
- // Remove all arguments marked with @require.
155
- argumentGroup = [.. argumentGroup.Where(i => !i.Argument.HasRequireDirective())];
+ Assert(!argumentGroup.Any(i => i.Argument.HasRequireDirective()));
156
157
var mergedArgument = argumentGroup.Select(i => i.Argument).FirstOrDefault();
158
0 commit comments