diff --git a/src/HotChocolate/Core/src/Types.Mutations/MutationConventionTypeInterceptor.cs b/src/HotChocolate/Core/src/Types.Mutations/MutationConventionTypeInterceptor.cs index 8dd76a0d80f..192e13a07bb 100644 --- a/src/HotChocolate/Core/src/Types.Mutations/MutationConventionTypeInterceptor.cs +++ b/src/HotChocolate/Core/src/Types.Mutations/MutationConventionTypeInterceptor.cs @@ -227,12 +227,12 @@ private void TryApplyInputConvention( var argumentType = _completionContext.GetType(argument.Type!); - var formatter = - argument.Formatters.Count switch + var formatters = argument.GetFormatters(); + var formatter = formatters.Count switch { 0 => null, - 1 => argument.Formatters[0], - _ => new AggregateInputValueFormatter(argument.Formatters), + 1 => formatters[0], + _ => new AggregateInputValueFormatter(formatters), }; var defaultValue = argument.DefaultValue;