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.
1 parent 72eda6f commit 239719cCopy full SHA for 239719c
src/HotChocolate/Core/src/Types.Mutations/MutationConventionTypeInterceptor.cs
@@ -227,12 +227,12 @@ private void TryApplyInputConvention(
227
228
var argumentType = _completionContext.GetType<IInputType>(argument.Type!);
229
230
- var formatter =
231
- argument.Formatters.Count switch
+ var formatters = argument.GetFormatters();
+ var formatter = formatters.Count switch
232
{
233
0 => null,
234
- 1 => argument.Formatters[0],
235
- _ => new AggregateInputValueFormatter(argument.Formatters),
+ 1 => formatters[0],
+ _ => new AggregateInputValueFormatter(formatters),
236
};
237
238
var defaultValue = argument.DefaultValue;
0 commit comments