diff --git a/src/HotChocolate/AspNetCore/test/AspNetCore.Tests/__snapshots__/HttpGetMiddlewareTests.SingleRequest_CreateReviewForEpisode_Omit_NonNull_Variable.snap b/src/HotChocolate/AspNetCore/test/AspNetCore.Tests/__snapshots__/HttpGetMiddlewareTests.SingleRequest_CreateReviewForEpisode_Omit_NonNull_Variable.snap index ef41c9388be..c217091ca0e 100644 --- a/src/HotChocolate/AspNetCore/test/AspNetCore.Tests/__snapshots__/HttpGetMiddlewareTests.SingleRequest_CreateReviewForEpisode_Omit_NonNull_Variable.snap +++ b/src/HotChocolate/AspNetCore/test/AspNetCore.Tests/__snapshots__/HttpGetMiddlewareTests.SingleRequest_CreateReviewForEpisode_Omit_NonNull_Variable.snap @@ -5,12 +5,6 @@ "Errors": [ { "message": "Variable `ep` is required.", - "locations": [ - { - "line": 1, - "column": 77 - } - ], "extensions": { "code": "HC0018", "variable": "ep" diff --git a/src/HotChocolate/AspNetCore/test/AspNetCore.Tests/__snapshots__/HttpPostMiddlewareTests.SingleRequest_CreateReviewForEpisode_Omit_NonNull_Variable.snap b/src/HotChocolate/AspNetCore/test/AspNetCore.Tests/__snapshots__/HttpPostMiddlewareTests.SingleRequest_CreateReviewForEpisode_Omit_NonNull_Variable.snap index b786751cdd8..c217091ca0e 100644 --- a/src/HotChocolate/AspNetCore/test/AspNetCore.Tests/__snapshots__/HttpPostMiddlewareTests.SingleRequest_CreateReviewForEpisode_Omit_NonNull_Variable.snap +++ b/src/HotChocolate/AspNetCore/test/AspNetCore.Tests/__snapshots__/HttpPostMiddlewareTests.SingleRequest_CreateReviewForEpisode_Omit_NonNull_Variable.snap @@ -5,12 +5,6 @@ "Errors": [ { "message": "Variable `ep` is required.", - "locations": [ - { - "line": 3, - "column": 25 - } - ], "extensions": { "code": "HC0018", "variable": "ep" diff --git a/src/HotChocolate/Core/src/Authorization/AuthorizeMiddleware.cs b/src/HotChocolate/Core/src/Authorization/AuthorizeMiddleware.cs index 62f998fee96..229c95bb1fc 100644 --- a/src/HotChocolate/Core/src/Authorization/AuthorizeMiddleware.cs +++ b/src/HotChocolate/Core/src/Authorization/AuthorizeMiddleware.cs @@ -69,7 +69,6 @@ private void SetError( .SetMessage(AuthorizeMiddleware_NoDefaultPolicy) .SetCode(ErrorCodes.Authentication.NoDefaultPolicy) .SetPath(context.Path) - .AddLocations(context.Selection) .Build(), AuthorizeResult.PolicyNotFound => ErrorBuilder.New() @@ -78,7 +77,6 @@ private void SetError( _directive.Policy) .SetCode(ErrorCodes.Authentication.PolicyNotFound) .SetPath(context.Path) - .AddLocations(context.Selection) .Build(), _ => ErrorBuilder.New() @@ -88,7 +86,6 @@ private void SetError( ? ErrorCodes.Authentication.NotAuthorized : ErrorCodes.Authentication.NotAuthenticated) .SetPath(context.Path) - .AddLocations(context.Selection) .Build() }; } diff --git a/src/HotChocolate/Core/src/Types/Execution/ErrorHelper.cs b/src/HotChocolate/Core/src/Types/Execution/ErrorHelper.cs index 35d87e81ce9..2b18949c3cb 100644 --- a/src/HotChocolate/Core/src/Types/Execution/ErrorHelper.cs +++ b/src/HotChocolate/Core/src/Types/Execution/ErrorHelper.cs @@ -16,18 +16,15 @@ public static IError ArgumentNonNullError( .SetMessage( ErrorHelper_ArgumentNonNullError_Message, argument.Name.Value) - .AddLocation(argument) .SetInputPath(validationResult.Path) .Build(); } public static IError InvalidLeafValue( GraphQLException exception, - Selection selection, Path path) { return ErrorBuilder.FromError(exception.Errors[0]) - .AddLocations(selection) .SetPath(path) .SetCode(ErrorCodes.Execution.CannotSerializeLeafValue) .Build(); @@ -35,12 +32,10 @@ public static IError InvalidLeafValue( public static IError UnexpectedLeafValueSerializationError( Exception exception, - Selection selection, Path path) { return ErrorBuilder .FromException(exception) - .AddLocations(selection) .SetPath(path) .SetCode(ErrorCodes.Execution.CannotSerializeLeafValue) .Build(); @@ -48,12 +43,10 @@ public static IError UnexpectedLeafValueSerializationError( public static IError UnableToResolveTheAbstractType( string typeName, - Selection selection, Path path) { return ErrorBuilder.New() .SetMessage(ErrorHelper_UnableToResolveTheAbstractType_Message, typeName) - .AddLocations(selection) .SetPath(path) .SetCode(ErrorCodes.Execution.CannotResolveAbstractType) .Build(); @@ -62,12 +55,10 @@ public static IError UnableToResolveTheAbstractType( public static IError UnexpectedErrorWhileResolvingAbstractType( Exception exception, string typeName, - Selection selection, Path path) { return ErrorBuilder.New() .SetMessage(ErrorHelper_UnableToResolveTheAbstractType_Message, typeName) - .AddLocations(selection) .SetPath(path) .SetCode(ErrorCodes.Execution.CannotResolveAbstractType) .SetException(exception) @@ -76,24 +67,20 @@ public static IError UnexpectedErrorWhileResolvingAbstractType( public static IError ListValueIsNotSupported( Type listType, - Selection selection, Path path) { return ErrorBuilder.New() .SetMessage(ErrorHelper_ListValueIsNotSupported_Message, listType.FullName) - .AddLocations(selection) .SetPath(path) .SetCode(ErrorCodes.Execution.ListTypeNotSupported) .Build(); } public static IError UnexpectedValueCompletionError( - Selection selection, Path path) { return ErrorBuilder.New() .SetMessage(ErrorHelper_UnexpectedValueCompletionError_Message) - .AddLocations(selection) .SetPath(path) .SetCode(ErrorCodes.Execution.ListTypeNotSupported) .Build(); @@ -137,7 +124,6 @@ public static IError ValueCompletion_CouldNotResolveAbstractType( result.GetType().FullName ?? result.GetType().Name, selection.ResponseName) .SetPath(path) - .AddLocations(selection) .Build(); public static OperationResult OperationKindNotAllowed(RequestFlags requiredFlag) diff --git a/src/HotChocolate/Core/src/Types/Execution/Extensions/OperationContextExtensions.cs b/src/HotChocolate/Core/src/Types/Execution/Extensions/OperationContextExtensions.cs index 98b5c0c2118..506f53aa750 100644 --- a/src/HotChocolate/Core/src/Types/Execution/Extensions/OperationContextExtensions.cs +++ b/src/HotChocolate/Core/src/Types/Execution/Extensions/OperationContextExtensions.cs @@ -10,10 +10,8 @@ internal static class OperationContextExtensions public OperationContext ReportError( Exception exception, MiddlewareContext resolverContext, - ISelection? selection = null, Path? path = null) { - selection ??= resolverContext.Selection; path ??= resolverContext.Path; ArgumentNullException.ThrowIfNull(exception); @@ -32,7 +30,6 @@ public OperationContext ReportError( var error = ErrorBuilder .FromException(exception) .SetPath(path) - .AddLocations(selection.GetSyntaxNodes()) .Build(); context.ReportError(error, resolverContext); diff --git a/src/HotChocolate/Core/src/Types/Execution/Processing/MiddlewareContext.Arguments.cs b/src/HotChocolate/Core/src/Types/Execution/Processing/MiddlewareContext.Arguments.cs index 05d9b37fab0..92c3c33f6d3 100644 --- a/src/HotChocolate/Core/src/Types/Execution/Processing/MiddlewareContext.Arguments.cs +++ b/src/HotChocolate/Core/src/Types/Execution/Processing/MiddlewareContext.Arguments.cs @@ -28,9 +28,8 @@ public T ArgumentValue(string name) } catch (LeafCoercionException ex) { - var syntaxNode = Selection.Arguments[argument.Name].ValueLiteral; throw new LeafCoercionException( - ErrorBuilder.FromError(ex.Errors[0]).SetPath(Path).TryAddLocation(syntaxNode).Build(), + ErrorBuilder.FromError(ex.Errors[0]).SetPath(Path).Build(), ex.Type, Path); } diff --git a/src/HotChocolate/Core/src/Types/Execution/Processing/MiddlewareContext.Global.cs b/src/HotChocolate/Core/src/Types/Execution/Processing/MiddlewareContext.Global.cs index 019bbd468b3..9efc30997f5 100644 --- a/src/HotChocolate/Core/src/Types/Execution/Processing/MiddlewareContext.Global.cs +++ b/src/HotChocolate/Core/src/Types/Execution/Processing/MiddlewareContext.Global.cs @@ -1,6 +1,5 @@ using System.Diagnostics.CodeAnalysis; using HotChocolate.Features; -using HotChocolate.Language; using HotChocolate.Resolvers; using HotChocolate.Types; @@ -126,14 +125,14 @@ void ReportSingle(IError singleError) { foreach (var ie in ar.Errors) { - var errorWithPath = EnsurePathAndLocation(ie, _selection.SyntaxNodes[0].Node, Path); + var errorWithPath = EnsurePath(ie, Path); _operationContext.Result.AddError(errorWithPath); diagnosticEvents.ResolverError(this, errorWithPath); } } else { - var errorWithPath = EnsurePathAndLocation(handled, _selection.SyntaxNodes[0].Node, Path); + var errorWithPath = EnsurePath(handled, Path); _operationContext.Result.AddError(errorWithPath); diagnosticEvents.ResolverError(this, errorWithPath); } @@ -141,18 +140,13 @@ void ReportSingle(IError singleError) HasErrors = true; } - static IError EnsurePathAndLocation(IError error, ISyntaxNode node, Path path) + static IError EnsurePath(IError error, Path path) { if (error.Path is null) { error = error.WithPath(path); } - if (error.Locations is not { Count: > 0 } && node.Location is not null) - { - error = error.WithLocations([new Location(node.Location.Line, node.Location.Column)]); - } - return error; } } diff --git a/src/HotChocolate/Core/src/Types/Execution/Processing/OperationCompiler.CompileResolver.cs b/src/HotChocolate/Core/src/Types/Execution/Processing/OperationCompiler.CompileResolver.cs index e635c3ddeee..4d4280bc520 100644 --- a/src/HotChocolate/Core/src/Types/Execution/Processing/OperationCompiler.CompileResolver.cs +++ b/src/HotChocolate/Core/src/Types/Execution/Processing/OperationCompiler.CompileResolver.cs @@ -72,22 +72,10 @@ private static void BuildDirectivePipeline( if (schema.DirectiveTypes.TryGetDirective(directiveNode.Name.Value, out var directiveType) && directiveType.Middleware is not null) { - Directive directive; - try - { - directive = new Directive( - directiveType, - directiveNode, - directiveType.Parse(directiveNode)); - } - catch (LeafCoercionException ex) - { - throw new LeafCoercionException( - ErrorBuilder.FromError(ex.Errors[0]) - .TryAddLocation(directiveNode) - .Build(), - ex.Type); - } + var directive = new Directive( + directiveType, + directiveNode, + directiveType.Parse(directiveNode)); var directiveMiddleware = directiveType.Middleware; pipelineComponents.Add(next => directiveMiddleware(next, directive)); diff --git a/src/HotChocolate/Core/src/Types/Execution/Processing/SelectionIncludeCondition.cs b/src/HotChocolate/Core/src/Types/Execution/Processing/SelectionIncludeCondition.cs index ff840856d94..40777312c1d 100644 --- a/src/HotChocolate/Core/src/Types/Execution/Processing/SelectionIncludeCondition.cs +++ b/src/HotChocolate/Core/src/Types/Execution/Processing/SelectionIncludeCondition.cs @@ -69,7 +69,7 @@ private static bool IsTrue( return variables.GetValue(v.Name.Value).Value; } - throw FieldVisibility_ValueNotSupported(value); + throw FieldVisibility_ValueNotSupported(); } public bool Equals(SelectionIncludeCondition visibility) diff --git a/src/HotChocolate/Core/src/Types/Execution/Processing/Tasks/ResolverTaskFactory.cs b/src/HotChocolate/Core/src/Types/Execution/Processing/Tasks/ResolverTaskFactory.cs index 75c6d042ca7..31158686b87 100644 --- a/src/HotChocolate/Core/src/Types/Execution/Processing/Tasks/ResolverTaskFactory.cs +++ b/src/HotChocolate/Core/src/Types/Execution/Processing/Tasks/ResolverTaskFactory.cs @@ -324,7 +324,7 @@ private static void ResolveAndCompleteInline( } catch (Exception ex) { - operationContext.ReportError(ex, resolverContext, selection, fieldValue.Path); + operationContext.ReportError(ex, resolverContext, fieldValue.Path); } if (!executedSuccessfully) @@ -344,7 +344,7 @@ private static void ResolveAndCompleteInline( } catch (Exception ex) { - operationContext.ReportError(ex, resolverContext, selection, fieldValue.Path); + operationContext.ReportError(ex, resolverContext, fieldValue.Path); } if (fieldValue is { IsNullable: false, IsNullOrInvalidated: true }) diff --git a/src/HotChocolate/Core/src/Types/Execution/Processing/ValueCompletion.Leaf.cs b/src/HotChocolate/Core/src/Types/Execution/Processing/ValueCompletion.Leaf.cs index 9022d505adc..b117430d802 100644 --- a/src/HotChocolate/Core/src/Types/Execution/Processing/ValueCompletion.Leaf.cs +++ b/src/HotChocolate/Core/src/Types/Execution/Processing/ValueCompletion.Leaf.cs @@ -9,7 +9,6 @@ internal static partial class ValueCompletion { private static void CompleteLeafValue( ValueCompletionContext context, - Selection selection, ILeafType type, ResultElement resultValue, object runtimeValue) @@ -33,13 +32,13 @@ private static void CompleteLeafValue( catch (LeafCoercionException ex) { var errorPath = resultValue.Path; - var error = InvalidLeafValue(ex, selection, errorPath); + var error = InvalidLeafValue(ex, errorPath); operationContext.ReportError(error, resolverContext); } catch (Exception ex) { var errorPath = resultValue.Path; - var error = UnexpectedLeafValueSerializationError(ex, selection, errorPath); + var error = UnexpectedLeafValueSerializationError(ex, errorPath); operationContext.ReportError(error, resolverContext); } diff --git a/src/HotChocolate/Core/src/Types/Execution/Processing/ValueCompletion.List.cs b/src/HotChocolate/Core/src/Types/Execution/Processing/ValueCompletion.List.cs index 8c51ea3e28c..ceb9fd4e8b9 100644 --- a/src/HotChocolate/Core/src/Types/Execution/Processing/ValueCompletion.List.cs +++ b/src/HotChocolate/Core/src/Types/Execution/Processing/ValueCompletion.List.cs @@ -148,7 +148,7 @@ private static void CompleteListValue( var operationContext = context.OperationContext; var resolverContext = context.ResolverContext; - var error = ListValueIsNotSupported(runtimeValue.GetType(), selection, resultValue.Path); + var error = ListValueIsNotSupported(runtimeValue.GetType(), resultValue.Path); operationContext.ReportError(error, resolverContext); } diff --git a/src/HotChocolate/Core/src/Types/Execution/Processing/ValueCompletion.Object.cs b/src/HotChocolate/Core/src/Types/Execution/Processing/ValueCompletion.Object.cs index 9d59648c26e..c118643eb74 100644 --- a/src/HotChocolate/Core/src/Types/Execution/Processing/ValueCompletion.Object.cs +++ b/src/HotChocolate/Core/src/Types/Execution/Processing/ValueCompletion.Object.cs @@ -78,7 +78,6 @@ private static bool TryResolveObjectType( var error = UnableToResolveTheAbstractType( fieldType.Print(), - selection, resultValue.Path); context.OperationContext.ReportError(error, context.ResolverContext); } @@ -87,7 +86,6 @@ private static bool TryResolveObjectType( var error = UnexpectedErrorWhileResolvingAbstractType( ex, fieldType.Print(), - selection, resultValue.Path); context.OperationContext.ReportError(error, context.ResolverContext); } diff --git a/src/HotChocolate/Core/src/Types/Execution/Processing/ValueCompletion.cs b/src/HotChocolate/Core/src/Types/Execution/Processing/ValueCompletion.cs index e4aa5a98674..dbecf7a29fd 100644 --- a/src/HotChocolate/Core/src/Types/Execution/Processing/ValueCompletion.cs +++ b/src/HotChocolate/Core/src/Types/Execution/Processing/ValueCompletion.cs @@ -37,7 +37,7 @@ public static void Complete( switch (typeKind) { case TypeKind.Scalar or TypeKind.Enum: - CompleteLeafValue(context, selection, (ILeafType)type, resultValue, result); + CompleteLeafValue(context, (ILeafType)type, resultValue, result); break; case TypeKind.List: @@ -49,7 +49,7 @@ public static void Complete( break; default: - var error = UnexpectedValueCompletionError(selection, resultValue.Path); + var error = UnexpectedValueCompletionError(resultValue.Path); context.OperationContext.ReportError(error, context.ResolverContext); break; } diff --git a/src/HotChocolate/Core/src/Types/Execution/Processing/VariableCoercionHelper.cs b/src/HotChocolate/Core/src/Types/Execution/Processing/VariableCoercionHelper.cs index cd2607955da..19fa19dbd66 100644 --- a/src/HotChocolate/Core/src/Types/Execution/Processing/VariableCoercionHelper.cs +++ b/src/HotChocolate/Core/src/Types/Execution/Processing/VariableCoercionHelper.cs @@ -71,7 +71,10 @@ private void CoerceVariableValuesInternal( if (!hasValue && variableDefinition.DefaultValue is { Kind: not SyntaxKind.NullValue } defaultValue) { - var runtimeValue = _inputParser.ParseLiteral(defaultValue, variableType); + var runtimeValue = _inputParser.ParseLiteral( + defaultValue, + variableType, + path: Path.Root.Append(variableName)); coercedValues[variableName] = new VariableValue(variableName, variableType, runtimeValue, defaultValue); continue; } diff --git a/src/HotChocolate/Core/src/Types/Execution/ThrowHelper.cs b/src/HotChocolate/Core/src/Types/Execution/ThrowHelper.cs index c13a1a08207..ea71c1664ba 100644 --- a/src/HotChocolate/Core/src/Types/Execution/ThrowHelper.cs +++ b/src/HotChocolate/Core/src/Types/Execution/ThrowHelper.cs @@ -23,7 +23,6 @@ public static GraphQLException VariableIsNotAnInputType( .SetCode(ErrorCodes.Execution.MustBeInputType) .SetExtension("variable", variableDefinition.Variable.Name.Value) .SetExtension("type", variableDefinition.Type.ToString()) - .AddLocation(variableDefinition) .Build()); } @@ -37,7 +36,6 @@ public static GraphQLException NonNullVariableIsNull( variableDefinition.Variable.Name.Value) .SetCode(ErrorCodes.Execution.NonNullViolation) .SetExtension("variable", variableDefinition.Variable.Name.Value) - .AddLocation(variableDefinition) .Build()); } @@ -54,8 +52,7 @@ public static GraphQLException VariableValueInvalidType( ThrowHelper_VariableValueInvalidType_Message, variableDefinition.Variable.Name.Value) .SetCode(ErrorCodes.Execution.InvalidType) - .SetExtension("variable", variableDefinition.Variable.Name.Value) - .AddLocation(variableDefinition); + .SetExtension("variable", variableDefinition.Variable.Name.Value); if (exception is not null) { @@ -79,7 +76,6 @@ public static GraphQLException FieldDoesNotExistOnType( ThrowHelper_FieldDoesNotExistOnType, selection.Name.Value, typeName) - .AddLocation(selection) .Build()); } @@ -127,7 +123,6 @@ public static GraphQLException ResolverContext_LiteralsNotSupported( new(ErrorBuilder.New() .SetMessage(ThrowHelper_ResolverContext_LiteralsNotSupported_Message) .SetPath(path) - .AddLocation(field) .SetExtension("fieldName", field.Name) .SetExtension("argumentName", argumentName) .SetExtension("requestedType", requestedType.FullName) @@ -141,7 +136,6 @@ public static GraphQLException ResolverContext_CannotConvertArgument( argumentName, requestedType.FullName ?? requestedType.Name) .SetPath(path) - .AddLocation(field) .SetExtension("fieldName", field.Name) .SetExtension("argumentName", argumentName) .SetExtension("requestedType", requestedType.FullName) @@ -157,7 +151,6 @@ public static GraphQLException ResolverContext_LiteralNotCompatible( actualType.FullName ?? actualType.Name, requestedType.FullName ?? actualType.Name) .SetPath(path) - .AddLocation(field) .SetExtension("fieldName", field.Name) .SetExtension("argumentName", argumentName) .SetExtension("requestedType", requestedType.FullName) @@ -172,7 +165,6 @@ public static GraphQLException ResolverContext_ArgumentDoesNotExist( argumentName, field.Name.Value) .SetPath(path) - .AddLocation(field) .SetExtension("fieldName", field.Name) .SetExtension("argumentName", argumentName) .Build()); @@ -228,10 +220,9 @@ public static GraphQLException CollectVariablesVisitor_NoCompatibleType( .AddLocation(node) .Build()); - public static GraphQLException FieldVisibility_ValueNotSupported(IValueNode value) => + public static GraphQLException FieldVisibility_ValueNotSupported() => new(ErrorBuilder.New() .SetMessage(ThrowHelper_FieldVisibility_ValueNotSupported_Message) - .AddLocation(value) .Build()); public static GraphQLException QueryCompiler_CompositeTypeSelectionSet( diff --git a/src/HotChocolate/Core/src/Types/Types/InputParser.cs b/src/HotChocolate/Core/src/Types/Types/InputParser.cs index c68ac49d3f5..eb4ae1178cf 100644 --- a/src/HotChocolate/Core/src/Types/Types/InputParser.cs +++ b/src/HotChocolate/Core/src/Types/Types/InputParser.cs @@ -50,7 +50,7 @@ public InputParser(ITypeConverter converter, InputParserOptions options) targetType = field.RuntimeType; } - return FormatAndConvertValue(field, path, value.Location, runtimeValue, false, false, targetType); + return FormatAndConvertValue(field, path, runtimeValue, false, false, targetType); } public object? ParseLiteral(IValueNode value, IType type, Path? path = null) @@ -204,7 +204,7 @@ private IList ParseList( { if (field is not null) { - throw InvalidTypeConversion(type.ElementType, field, path, null, conversionException); + throw InvalidTypeConversion(type.ElementType, field, path, conversionException); } // Without a field context (the IType / JsonElement overloads) there is no @@ -348,16 +348,14 @@ private static object ParseLeaf( } catch (LeafCoercionException ex) { - if (field is null) + var errorBuilder = ErrorBuilder.FromError(ex.Errors[0]).SetInputPath(path); + + if (field is not null) { - throw new LeafCoercionException(ex.Errors[0].WithPath(path), ex.Type, path); + errorBuilder.SetCoordinate(field.Coordinate); } - var error = ErrorBuilder.FromError(ex.Errors[0]) - .SetInputPath(path) - .SetCoordinate(field.Coordinate) - .SetExtension("fieldType", type.Name) - .Build(); + var error = errorBuilder.SetExtension("fieldType", type.Name).Build(); throw new LeafCoercionException(error, ex.Type, path); } @@ -605,7 +603,7 @@ private object DeserializeObject(JsonElement inputValue, InputObjectType type, P } var value = Deserialize(property.Value, field.Type, fieldPath, field, context); - value = FormatAndConvertValue(field, path, null, value, field.IsOptional, true); + value = FormatAndConvertValue(field, path, value, field.IsOptional, true); fieldValues[field.Index] = value; } @@ -712,16 +710,14 @@ private static object DeserializeLeaf( } catch (LeafCoercionException ex) { - if (field is null) + var errorBuilder = ErrorBuilder.FromError(ex.Errors[0]).SetInputPath(path); + + if (field is not null) { - throw new LeafCoercionException(ex.Errors[0].WithPath(path), ex.Type, path); + errorBuilder.SetCoordinate(field.Coordinate); } - var error = ErrorBuilder.FromError(ex.Errors[0]) - .SetInputPath(path) - .SetCoordinate(field.Coordinate) - .SetExtension("fieldType", type.Name) - .Build(); + var error = errorBuilder.SetExtension("fieldType", type.Name).Build(); throw new LeafCoercionException(error, ex.Type, path); } @@ -803,13 +799,12 @@ private static object DeserializeLeaf( stack, defaults, field); - return FormatAndConvertValue(field, fieldPath, literal.Location, value, isOptional, optionalHasValue); + return FormatAndConvertValue(field, fieldPath, value, isOptional, optionalHasValue); } private object? FormatAndConvertValue( IInputValueInfo inputValueInfo, Path fieldPath, - Language.Location? location, object? value, bool isOptional, bool optionalHasValue, @@ -819,7 +814,7 @@ private static object DeserializeLeaf( value = ConvertValue(requestedType ?? inputValueInfo.RuntimeType, value, out var conversionException); if (conversionException != null) { - throw InvalidTypeConversion(inputValueInfo.Type, inputValueInfo, fieldPath, location, conversionException); + throw InvalidTypeConversion(inputValueInfo.Type, inputValueInfo, fieldPath, conversionException); } if (isOptional) diff --git a/src/HotChocolate/Core/src/Types/Utilities/ThrowHelper.cs b/src/HotChocolate/Core/src/Types/Utilities/ThrowHelper.cs index 9915855363a..6f43481e890 100644 --- a/src/HotChocolate/Core/src/Types/Utilities/ThrowHelper.cs +++ b/src/HotChocolate/Core/src/Types/Utilities/ThrowHelper.cs @@ -616,22 +616,17 @@ public static LeafCoercionException InvalidTypeConversion( ITypeSystemMember type, IInputValueInfo inputField, Path inputFieldPath, - Language.Location? location, Exception conversionException) { - var builder = ErrorBuilder.New() + var error = ErrorBuilder.New() .SetMessage(ThrowHelper_InvalidTypeConversion, inputField.Name) .SetCode(ErrorCodes.Scalars.InvalidRuntimeType) - .TryAddLocation(location) .SetException(conversionException) - .SetCoordinate(inputField.Coordinate); - - if (inputFieldPath.Length > 1) - { - builder.SetInputPath(inputFieldPath); - } + .SetCoordinate(inputField.Coordinate) + .SetInputPath(inputFieldPath) + .Build(); - return new(builder.Build(), type); + return new(error, type); } public static LeafCoercionException Scalar_Cannot_CoerceInputLiteral( diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/Components/VariableCoercionIntegrationTests.cs b/src/HotChocolate/Core/test/Execution.Tests/Integration/Components/VariableCoercionIntegrationTests.cs index 54a1dfc18ff..63d5b4b47bb 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/Components/VariableCoercionIntegrationTests.cs +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/Components/VariableCoercionIntegrationTests.cs @@ -275,11 +275,247 @@ public async Task Invalid_Enum_Value_Provided() await executor.ExecuteAsync(request, TestContext.Current.CancellationToken).MatchSnapshotAsync(); } + [Fact] + public async Task ExecuteAsync_Should_Report_Input_Path_Without_Path_When_Mutation_Input_Object_Variable_Has_Invalid_Leaf() + { + // arrange + var executor = await CreateSchemaAsync(); + + var request = + OperationRequestBuilder + .New() + .SetDocument( + """ + mutation($input: UpdateUserInput!) { + updateUser(input: $input) + } + """) + .SetVariableValues( + """ + { + "input": { + "avatar": "" + } + } + """) + .Build(); + + // act + var result = await executor.ExecuteAsync(request, TestContext.Current.CancellationToken); + + // assert + result.MatchInlineSnapshot( + """ + { + "errors": [ + { + "message": "The value is not a valid image data URL.", + "extensions": { + "inputPath": [ + "input", + "avatar" + ], + "coordinate": "UpdateUserInput.avatar", + "fieldType": "ImageDataUrl" + } + } + ] + } + """); + } + + [Fact] + public async Task ExecuteAsync_Should_Report_Input_Path_Without_Path_When_Mutation_Scalar_Variable_Is_Invalid() + { + // arrange + var executor = await CreateSchemaAsync(); + + var request = + OperationRequestBuilder + .New() + .SetDocument( + """ + mutation($avatar: ImageDataUrl) { + updateUser(input: { avatar: $avatar }) + } + """) + .SetVariableValues( + """ + { + "avatar": "" + } + """) + .Build(); + + // act + var result = await executor.ExecuteAsync(request, TestContext.Current.CancellationToken); + + // assert + result.MatchInlineSnapshot( + """ + { + "errors": [ + { + "message": "The value is not a valid image data URL.", + "extensions": { + "inputPath": [ + "avatar" + ], + "fieldType": "ImageDataUrl" + } + } + ] + } + """); + } + + [Fact] + public async Task ExecuteAsync_Should_Report_Input_Path_Without_Path_When_Query_Input_Object_Variable_Has_Invalid_Leaf() + { + // arrange + var executor = await CreateSchemaAsync(); + + var request = + OperationRequestBuilder + .New() + .SetDocument( + """ + query($input: UpdateUserInput!) { + avatarPreview(input: $input) + } + """) + .SetVariableValues( + """ + { + "input": { + "avatar": "" + } + } + """) + .Build(); + + // act + var result = await executor.ExecuteAsync(request, TestContext.Current.CancellationToken); + + // assert + result.MatchInlineSnapshot( + """ + { + "errors": [ + { + "message": "The value is not a valid image data URL.", + "extensions": { + "inputPath": [ + "input", + "avatar" + ], + "coordinate": "UpdateUserInput.avatar", + "fieldType": "ImageDataUrl" + } + } + ] + } + """); + } + + [Fact] + public async Task ExecuteAsync_Should_Report_Input_Path_Without_Path_When_Query_Scalar_Variable_Is_Invalid() + { + // arrange + var executor = await CreateSchemaAsync(); + + var request = + OperationRequestBuilder + .New() + .SetDocument( + """ + query($image: ImageDataUrl) { + avatarPreview(input: { avatar: $image }) + } + """) + .SetVariableValues( + """ + { + "image": "" + } + """) + .Build(); + + // act + var result = await executor.ExecuteAsync(request, TestContext.Current.CancellationToken); + + // assert + result.MatchInlineSnapshot( + """ + { + "errors": [ + { + "message": "The value is not a valid image data URL.", + "extensions": { + "inputPath": [ + "image" + ], + "fieldType": "ImageDataUrl" + } + } + ] + } + """); + } + + [Fact] + public async Task ExecuteAsync_Should_Report_Input_Path_Without_Path_When_Query_Scalar_Variable_Default_Is_Invalid() + { + // arrange + var executor = await CreateSchemaAsync(); + + var request = + OperationRequestBuilder + .New() + .SetDocument( + """ + query($image: ImageDataUrl = "") { + avatarPreview(input: { avatar: $image }) + } + """) + .Build(); + + // act + var result = await executor.ExecuteAsync(request, TestContext.Current.CancellationToken); + + // assert + result.MatchInlineSnapshot( + """ + { + "errors": [ + { + "message": "The value is not a valid image data URL.", + "extensions": { + "inputPath": [ + "image" + ], + "fieldType": "ImageDataUrl" + } + } + ] + } + """); + } + private static async Task CreateSchemaAsync() { return await new ServiceCollection() .AddGraphQL() - .AddQueryType(t => t.Field("a").Resolve("b")) + .AddQueryType( + t => + { + t.Field("a").Resolve("b"); + + t.Field("avatarPreview") + .Argument("input", a => a.Type>>()) + .Type() + .Resolve(ctx => ctx.ArgumentValue("input").Avatar); + }) .AddMutationType() .BuildRequestExecutorAsync(); } @@ -290,6 +526,11 @@ public string AddUser(User user) { return $"{user.Name} {user.Surname} ({user.Gender}) was added!"; } + + public string UpdateUser(UpdateUserInput input) + { + return $"{input.Avatar} was updated!"; + } } public class UserMutationType : ObjectType @@ -301,6 +542,10 @@ protected override void Configure(IObjectTypeDescriptor descriptor .Description("Add user to db") .Argument("user", d => d.Type>() .Description("User input type, required")); + + descriptor + .Field(um => um.UpdateUser(default!)) + .Argument("input", d => d.Type>>()); } } diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/Components/__snapshots__/VariableCoercionIntegrationTests.Variable_Not_Provided.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/Components/__snapshots__/VariableCoercionIntegrationTests.Variable_Not_Provided.snap index 943c73802cf..abd8fb81769 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/Components/__snapshots__/VariableCoercionIntegrationTests.Variable_Not_Provided.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/Components/__snapshots__/VariableCoercionIntegrationTests.Variable_Not_Provided.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "Variable `user` is required.", - "locations": [ - { - "line": 1, - "column": 10 - } - ], "extensions": { "code": "HC0018", "variable": "user" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/ImageDataUrlType.cs b/src/HotChocolate/Core/test/Execution.Tests/Integration/ImageDataUrlType.cs new file mode 100644 index 00000000000..ad65c9c34ea --- /dev/null +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/ImageDataUrlType.cs @@ -0,0 +1,45 @@ +using System.Text.Json; +using HotChocolate.Features; +using HotChocolate.Language; +using HotChocolate.Text.Json; +using HotChocolate.Types; + +namespace HotChocolate.Execution.Integration; + +public class ImageDataUrlType : ScalarType +{ + public ImageDataUrlType() + : base("ImageDataUrl") + { + } + + protected override string OnCoerceInputLiteral(StringValueNode valueLiteral) + { + return Validate(valueLiteral.Value); + } + + protected override string OnCoerceInputValue(JsonElement inputValue, IFeatureProvider context) + { + return Validate(inputValue.GetString()!); + } + + protected override void OnCoerceOutputValue(string runtimeValue, ResultElement resultValue) + { + resultValue.SetStringValue(Validate(runtimeValue)); + } + + protected override StringValueNode OnValueToLiteral(string runtimeValue) + { + return new StringValueNode(Validate(runtimeValue)); + } + + private string Validate(string runtimeValue) + { + if (!runtimeValue.StartsWith("data:image/", StringComparison.Ordinal)) + { + throw new LeafCoercionException("The value is not a valid image data URL.", this); + } + + return runtimeValue; + } +} diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/Spec/ArgumentCoercionTests.cs b/src/HotChocolate/Core/test/Execution.Tests/Integration/Spec/ArgumentCoercionTests.cs index 6f1b2321c73..2fe69c0601e 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/Spec/ArgumentCoercionTests.cs +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/Spec/ArgumentCoercionTests.cs @@ -156,9 +156,65 @@ public async Task Pass_In_Sydney_To_NonNullArgument_With_DefaultValue_By_Variabl result.ToJson().MatchSnapshot(); } + [Fact] + public async Task ExecuteAsync_Should_Report_Path_Without_Locations_When_Inline_Input_Object_Literal_Has_Invalid_Leaf() + { + // arrange + var executor = + await new ServiceCollection() + .AddGraphQL() + .AddQueryType() + .AddMutationType() + .BuildRequestExecutorAsync(cancellationToken: TestContext.Current.CancellationToken); + + var request = + OperationRequestBuilder + .New() + .SetDocument( + """ + mutation { + updateUser(input: { avatar: "" }) + } + """) + .Build(); + + // act + var result = await executor.ExecuteAsync(request, TestContext.Current.CancellationToken); + + // assert + result.MatchInlineSnapshot( + """ + { + "errors": [ + { + "message": "The value is not a valid image data URL.", + "path": [ + "updateUser" + ], + "extensions": { + "inputPath": [ + "input", + "avatar" + ], + "coordinate": "UpdateUserInput.avatar", + "fieldType": "ImageDataUrl" + } + } + ], + "data": null + } + """); + } + public class Query { public string SayHello(string name = "Michael") => $"Hello {name}."; } + + public class Mutation + { + public string UpdateUser(UpdateUserInput input) + => $"{input.Avatar} was updated!"; + } } diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/Spec/__snapshots__/ArgumentCoercionTests.Pass_In_Nothing_To_NonNullArgument_With_DefaultValue_By_Variable.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/Spec/__snapshots__/ArgumentCoercionTests.Pass_In_Nothing_To_NonNullArgument_With_DefaultValue_By_Variable.snap index 7081b1222d3..7242eacc40d 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/Spec/__snapshots__/ArgumentCoercionTests.Pass_In_Nothing_To_NonNullArgument_With_DefaultValue_By_Variable.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/Spec/__snapshots__/ArgumentCoercionTests.Pass_In_Nothing_To_NonNullArgument_With_DefaultValue_By_Variable.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "Variable `a` is required.", - "locations": [ - { - "line": 1, - "column": 8 - } - ], "extensions": { "code": "HC0018", "variable": "a" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/Spec/__snapshots__/ArgumentCoercionTests.Pass_In_Null_To_NonNullArgument_With_DefaultValue.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/Spec/__snapshots__/ArgumentCoercionTests.Pass_In_Null_To_NonNullArgument_With_DefaultValue.snap index 97363f490c3..528ebaacce1 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/Spec/__snapshots__/ArgumentCoercionTests.Pass_In_Null_To_NonNullArgument_With_DefaultValue.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/Spec/__snapshots__/ArgumentCoercionTests.Pass_In_Null_To_NonNullArgument_With_DefaultValue.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "Detected a non-null violation in argument `name`.", - "locations": [ - { - "line": 2, - "column": 12 - } - ], "path": [ "sayHello" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_DirectiveInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_DirectiveInput.snap index 1a455183e28..21c6802ff63 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_DirectiveInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_DirectiveInput.snap @@ -2,15 +2,12 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 31 - } - ], "extensions": { "code": "HC0001", "coordinate": "boom.arg", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ListOfObjectsInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ListOfObjectsInput.snap index 8fb1c5b5c58..2d1ee58ff47 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ListOfObjectsInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ListOfObjectsInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `id` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 52 - } - ], "path": [ "fieldWithListOfObjectsInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ListOfScalarsInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ListOfScalarsInput.snap index e12599bb67f..d6223bb689f 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ListOfScalarsInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ListOfScalarsInput.snap @@ -2,18 +2,15 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], "path": [ "fieldWithListOfScalarsInput" ], "extensions": { "code": "HC0001", "coordinate": "SomeQuery.fieldWithListOfScalarsInput(arg:)", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ListOfScalarsInputWithOkValue.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ListOfScalarsInputWithOkValue.snap index d1978323ac2..757c5ddc245 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ListOfScalarsInputWithOkValue.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ListOfScalarsInputWithOkValue.snap @@ -2,18 +2,15 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], "path": [ "fieldWithListOfScalarsInput" ], "extensions": { "code": "HC0001", "coordinate": "SomeQuery.fieldWithListOfScalarsInput(arg:)", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_DirectiveInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_DirectiveInput.snap index f6705818aff..21c6802ff63 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_DirectiveInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_DirectiveInput.snap @@ -2,15 +2,12 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], "extensions": { "code": "HC0001", "coordinate": "boom.arg", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ListOfObjectsInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ListOfObjectsInput.snap index 2900a425a07..2d1ee58ff47 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ListOfObjectsInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ListOfObjectsInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `id` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 60 - } - ], "path": [ "fieldWithListOfObjectsInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ListOfScalarsInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ListOfScalarsInput.snap index 271e1f11aea..d6223bb689f 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ListOfScalarsInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ListOfScalarsInput.snap @@ -2,18 +2,15 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 44 - } - ], "path": [ "fieldWithListOfScalarsInput" ], "extensions": { "code": "HC0001", "coordinate": "SomeQuery.fieldWithListOfScalarsInput(arg:)", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ListOfScalarsInputWithOkValue.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ListOfScalarsInputWithOkValue.snap index 271e1f11aea..d6223bb689f 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ListOfScalarsInputWithOkValue.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ListOfScalarsInputWithOkValue.snap @@ -2,18 +2,15 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 44 - } - ], "path": [ "fieldWithListOfScalarsInput" ], "extensions": { "code": "HC0001", "coordinate": "SomeQuery.fieldWithListOfScalarsInput(arg:)", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_NestedDirectiveInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_NestedDirectiveInput.snap index dac95a7227a..e9bd579504c 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_NestedDirectiveInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_NestedDirectiveInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 54 - } - ], "path": [ "nestedObjectOutput", "inner" @@ -15,6 +9,9 @@ "extensions": { "code": "HC0001", "coordinate": "boom.arg", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_NestedObjectInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_NestedObjectInput.snap index f1b35e5eaab..1e21721a2a8 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_NestedObjectInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_NestedObjectInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `id` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 58 - } - ], "path": [ "fieldWithNestedObjectInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_NestedVariableInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_NestedVariableInput.snap index e25fd6194f1..1e21721a2a8 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_NestedVariableInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_NestedVariableInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `id` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 57 - } - ], "path": [ "fieldWithNestedObjectInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_NonNullScalarInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_NonNullScalarInput.snap index 845314945df..6ea7316e246 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_NonNullScalarInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_NonNullScalarInput.snap @@ -2,18 +2,15 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 44 - } - ], "path": [ "fieldWithNonNullScalarInput" ], "extensions": { "code": "HC0001", "coordinate": "SomeQuery.fieldWithNonNullScalarInput(arg:)", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ObjectInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ObjectInput.snap index 5b0bebc9655..4d40ed71590 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ObjectInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ObjectInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `id` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 43 - } - ], "path": [ "fieldWithObjectInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ObjectWithListOfScalarsInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ObjectWithListOfScalarsInput.snap index c952fde91b0..8924628fab9 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ObjectWithListOfScalarsInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ObjectWithListOfScalarsInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `ids` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 61 - } - ], "path": [ "fieldWithObjectWithListOfScalarsInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ScalarInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ScalarInput.snap index 13cfb0e230c..475866878e9 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ScalarInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_ScalarInput.snap @@ -2,18 +2,15 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], "path": [ "fieldWithScalarInput" ], "extensions": { "code": "HC0001", "coordinate": "SomeQuery.fieldWithScalarInput(arg:)", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_VariableInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_VariableInput.snap index 8a5b0dbdee0..475866878e9 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_VariableInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_VariableInput.snap @@ -2,18 +2,15 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 51 - } - ], "path": [ "fieldWithScalarInput" ], "extensions": { "code": "HC0001", "coordinate": "SomeQuery.fieldWithScalarInput(arg:)", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_DirectiveInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_DirectiveInput.snap index 773882b80a8..21c6802ff63 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_DirectiveInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_DirectiveInput.snap @@ -2,15 +2,12 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 49 - } - ], "extensions": { "code": "HC0001", "coordinate": "boom.arg", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ListOfObjectsInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ListOfObjectsInput.snap index 95a2ceac1bf..dcb57b40b03 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ListOfObjectsInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ListOfObjectsInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `id` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 69 - } - ], "path": [ "fieldWithListOfObjectsInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ListOfScalarsInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ListOfScalarsInput.snap index c1575199e3f..f18aa96f172 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ListOfScalarsInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ListOfScalarsInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 53 - } - ], "path": [ "fieldWithListOfScalarsInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ListOfScalarsInputWithOkValue.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ListOfScalarsInputWithOkValue.snap index c1575199e3f..f18aa96f172 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ListOfScalarsInputWithOkValue.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ListOfScalarsInputWithOkValue.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 53 - } - ], "path": [ "fieldWithListOfScalarsInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_NestedDirectiveInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_NestedDirectiveInput.snap index b73f2c542c8..91806800d8e 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_NestedDirectiveInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_NestedDirectiveInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 70 - } - ], "path": [ "nestedObjectOutput", "nestedObject", @@ -16,6 +10,9 @@ "extensions": { "code": "HC0001", "coordinate": "boom.arg", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_NestedObjectInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_NestedObjectInput.snap index 757c2199b56..251f7b63e31 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_NestedObjectInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_NestedObjectInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `id` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 67 - } - ], "path": [ "fieldWithNestedObjectInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_NestedVariableInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_NestedVariableInput.snap index 0ddff28f293..251f7b63e31 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_NestedVariableInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_NestedVariableInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `id` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 59 - } - ], "path": [ "fieldWithNestedObjectInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_NonNullScalarInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_NonNullScalarInput.snap index 34c2450ee76..40e9ff1d959 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_NonNullScalarInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_NonNullScalarInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 53 - } - ], "path": [ "fieldWithNonNullScalarInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ObjectInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ObjectInput.snap index 22b5d6fb3b9..8ca73e76c80 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ObjectInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ObjectInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `id` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 52 - } - ], "path": [ "fieldWithObjectInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ObjectWithListOfScalarsInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ObjectWithListOfScalarsInput.snap index a57eaa45995..8b3b8c3a392 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ObjectWithListOfScalarsInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ObjectWithListOfScalarsInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `ids` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 70 - } - ], "path": [ "fieldWithObjectWithListOfScalarsInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ScalarInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ScalarInput.snap index 0943c6a8896..b3edfd7f247 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ScalarInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_ScalarInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 46 - } - ], "path": [ "fieldWithScalarInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_VariableInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_VariableInput.snap index 10d56c32dfe..b3edfd7f247 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_VariableInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_Mutation_WithMutationConventions_VariableInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 53 - } - ], "path": [ "fieldWithScalarInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_NestedDirectiveInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_NestedDirectiveInput.snap index 589a9b8d173..e9bd579504c 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_NestedDirectiveInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_NestedDirectiveInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 46 - } - ], "path": [ "nestedObjectOutput", "inner" @@ -15,6 +9,9 @@ "extensions": { "code": "HC0001", "coordinate": "boom.arg", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_NestedObjectInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_NestedObjectInput.snap index dc12c5e236d..1e21721a2a8 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_NestedObjectInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_NestedObjectInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `id` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 50 - } - ], "path": [ "fieldWithNestedObjectInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_NestedVariableInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_NestedVariableInput.snap index 9e455cc1f3b..1e21721a2a8 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_NestedVariableInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_NestedVariableInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `id` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 54 - } - ], "path": [ "fieldWithNestedObjectInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_NonNullScalarInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_NonNullScalarInput.snap index 2103029cf86..6ea7316e246 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_NonNullScalarInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_NonNullScalarInput.snap @@ -2,18 +2,15 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], "path": [ "fieldWithNonNullScalarInput" ], "extensions": { "code": "HC0001", "coordinate": "SomeQuery.fieldWithNonNullScalarInput(arg:)", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ObjectInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ObjectInput.snap index fdf84bb5ef1..4d40ed71590 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ObjectInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ObjectInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `id` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "fieldWithObjectInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ObjectWithListOfScalarsInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ObjectWithListOfScalarsInput.snap index 1114380d815..8924628fab9 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ObjectWithListOfScalarsInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ObjectWithListOfScalarsInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `ids` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 53 - } - ], "path": [ "fieldWithObjectWithListOfScalarsInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ScalarInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ScalarInput.snap index 9f32eae7fca..475866878e9 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ScalarInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_ScalarInput.snap @@ -2,18 +2,15 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], "path": [ "fieldWithScalarInput" ], "extensions": { "code": "HC0001", "coordinate": "SomeQuery.fieldWithScalarInput(arg:)", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_VariableInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_VariableInput.snap index 11fc5481fca..475866878e9 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_VariableInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_VariableInput.snap @@ -2,18 +2,15 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 48 - } - ], "path": [ "fieldWithScalarInput" ], "extensions": { "code": "HC0001", "coordinate": "SomeQuery.fieldWithScalarInput(arg:)", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_DirectiveInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_DirectiveInput.snap index 1a455183e28..21c6802ff63 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_DirectiveInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_DirectiveInput.snap @@ -2,15 +2,12 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 31 - } - ], "extensions": { "code": "HC0001", "coordinate": "boom.arg", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ListOfObjectsInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ListOfObjectsInput.snap index 6749f749f4d..d7066c51da3 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ListOfObjectsInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ListOfObjectsInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `id` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 52 - } - ], "path": [ "fieldWithListOfObjectsInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ListOfScalarsInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ListOfScalarsInput.snap index 39aaee4330b..55d62ac81fd 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ListOfScalarsInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ListOfScalarsInput.snap @@ -2,18 +2,15 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], "path": [ "fieldWithListOfScalarsInput" ], "extensions": { "code": "HC0001", "coordinate": "SomeQueryConventionFriendlyQueryType.fieldWithListOfScalarsInput(arg:)", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_NestedDirectiveInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_NestedDirectiveInput.snap index a5034c6cd7c..f677bdc7dd0 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_NestedDirectiveInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_NestedDirectiveInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 68 - } - ], "path": [ "nestedObjectOutput", "inner" @@ -15,6 +9,9 @@ "extensions": { "code": "HC0001", "coordinate": "boom.arg", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_NestedObjectInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_NestedObjectInput.snap index aad33902167..8f22465307e 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_NestedObjectInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_NestedObjectInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `id` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 50 - } - ], "path": [ "fieldWithNestedObjectInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_NonNullScalarInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_NonNullScalarInput.snap index 4a5b055a37f..bc6f8ddcb00 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_NonNullScalarInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_NonNullScalarInput.snap @@ -2,18 +2,15 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], "path": [ "fieldWithNonNullScalarInput" ], "extensions": { "code": "HC0001", "coordinate": "SomeQueryConventionFriendlyQueryType.fieldWithNonNullScalarInput(arg:)", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ObjectInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ObjectInput.snap index 96fd4c9f6d7..f76fba20371 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ObjectInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ObjectInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `id` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "fieldWithObjectInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ObjectWithListOfScalarsInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ObjectWithListOfScalarsInput.snap index 0f99e9e65de..a2d76856431 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ObjectWithListOfScalarsInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ObjectWithListOfScalarsInput.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "The value provided for `ids` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 53 - } - ], "path": [ "fieldWithObjectWithListOfScalarsInput" ], diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ScalarInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ScalarInput.snap index 0ce03bf194a..2472a0fbc35 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ScalarInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_ScalarInput.snap @@ -2,18 +2,15 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], "path": [ "fieldWithScalarInput" ], "extensions": { "code": "HC0001", "coordinate": "SomeQueryConventionFriendlyQueryType.fieldWithScalarInput(arg:)", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_VariableInput.snap b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_VariableInput.snap index 4ae25d35980..2472a0fbc35 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_VariableInput.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/TypeConverter/__snapshots__/TypeConverterTests.Exception_IsAvailableInErrorFilter_WithQueryConventions_VariableInput.snap @@ -2,18 +2,15 @@ "errors": [ { "message": "The value provided for `arg` is not in a valid format.", - "locations": [ - { - "line": 1, - "column": 48 - } - ], "path": [ "fieldWithScalarInput" ], "extensions": { "code": "HC0001", "coordinate": "SomeQueryConventionFriendlyQueryType.fieldWithScalarInput(arg:)", + "inputPath": [ + "arg" + ], "exception": { "message": "Boom", "stackTrace": "Test" diff --git a/src/HotChocolate/Core/test/Execution.Tests/Integration/UpdateUserInput.cs b/src/HotChocolate/Core/test/Execution.Tests/Integration/UpdateUserInput.cs new file mode 100644 index 00000000000..3ae8de4a2e5 --- /dev/null +++ b/src/HotChocolate/Core/test/Execution.Tests/Integration/UpdateUserInput.cs @@ -0,0 +1,7 @@ +namespace HotChocolate.Execution.Integration; + +public class UpdateUserInput +{ + [GraphQLType] + public string? Avatar { get; set; } +} diff --git a/src/HotChocolate/Core/test/Execution.Tests/Processing/VariableCoercionHelperTests.cs b/src/HotChocolate/Core/test/Execution.Tests/Processing/VariableCoercionHelperTests.cs index 465fee97bc6..c8a8e4ede71 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/Processing/VariableCoercionHelperTests.cs +++ b/src/HotChocolate/Core/test/Execution.Tests/Processing/VariableCoercionHelperTests.cs @@ -477,9 +477,12 @@ void Action() => helper.CoerceVariableValues( "errors": [ { "message": "String cannot coerce the given value JSON element of type `Number` to a runtime value.", - "path": [ - "abc" - ] + "extensions": { + "inputPath": [ + "abc" + ], + "fieldType": "String" + } } ] """); @@ -645,10 +648,13 @@ void Action() => helper.CoerceVariableValues( "errors": [ { "message": "Int cannot coerce the given value JSON element of type `String` to a runtime value.", - "path": [ - "abc", - 0 - ] + "extensions": { + "inputPath": [ + "abc", + 0 + ], + "fieldType": "Int" + } } ] """); diff --git a/src/HotChocolate/Core/test/Execution.Tests/__snapshots__/ScalarExecutionErrorTests.InputType_Variable_CannotBeDeserialized.snap b/src/HotChocolate/Core/test/Execution.Tests/__snapshots__/ScalarExecutionErrorTests.InputType_Variable_CannotBeDeserialized.snap index 2a1e241d870..89a0a301de9 100644 --- a/src/HotChocolate/Core/test/Execution.Tests/__snapshots__/ScalarExecutionErrorTests.InputType_Variable_CannotBeDeserialized.snap +++ b/src/HotChocolate/Core/test/Execution.Tests/__snapshots__/ScalarExecutionErrorTests.InputType_Variable_CannotBeDeserialized.snap @@ -2,9 +2,12 @@ "errors": [ { "message": "StringValue is not a.", - "path": [ - "a" - ] + "extensions": { + "inputPath": [ + "a" + ], + "fieldType": "Foo" + } } ] } diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/OneOfIntegrationTests.B_is_variable_and_var_not_set_Error.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/OneOfIntegrationTests.B_is_variable_and_var_not_set_Error.snap index 299ef68c7d1..dfd0b8c51aa 100644 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/OneOfIntegrationTests.B_is_variable_and_var_not_set_Error.snap +++ b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/OneOfIntegrationTests.B_is_variable_and_var_not_set_Error.snap @@ -2,12 +2,6 @@ "errors": [ { "message": "Variable `b` is required.", - "locations": [ - { - "line": 1, - "column": 7 - } - ], "extensions": { "code": "HC0018", "variable": "b" diff --git a/src/HotChocolate/Data/src/Data/ErrorHelper.cs b/src/HotChocolate/Data/src/Data/ErrorHelper.cs index b1e97356f14..2bba74219b4 100644 --- a/src/HotChocolate/Data/src/Data/ErrorHelper.cs +++ b/src/HotChocolate/Data/src/Data/ErrorHelper.cs @@ -1,7 +1,6 @@ using HotChocolate.Data.Filters; using HotChocolate.Data.Projections; using HotChocolate.Data.Sorting; -using HotChocolate.Language; using HotChocolate.Types; using HotChocolate.Types.Pagination; @@ -11,7 +10,6 @@ internal static class ErrorHelper { public static IError CreateNonNullError( IFilterField field, - IValueNode value, IFilterVisitorContext context, bool isMemberInvalid = false) { @@ -27,26 +25,23 @@ public static IError CreateNonNullError( DataResources.ErrorHelper_CreateNonNullError, context.Operations.Peek().Name, filterType.Print()) - .AddLocation(value) .SetCode(ErrorCodes.Data.NonNullError) .SetExtension("expectedType", expectedType.Print()) .SetExtension("filterType", filterType.Print()) .Build(); } - public static IError SortingVisitor_ListValues(ISortField field, ListValueNode node) => + public static IError SortingVisitor_ListValues(ISortField field) => ErrorBuilder.New() .SetMessage( DataResources.SortingVisitor_ListInput_AreNotSupported, field.DeclaringType.Name, field.Name) - .AddLocation(node) .SetCode(ErrorCodes.Data.ListNotSupported) .SetExtension(nameof(field), field) .Build(); public static IError MaxAllowedFilterOperationsExceeded( - IValueNode node, int filterOperations, int maxAllowedFilterOperations) => ErrorBuilder.New() @@ -55,7 +50,6 @@ public static IError MaxAllowedFilterOperationsExceeded( + "number of {1}.", filterOperations, maxAllowedFilterOperations) - .AddLocation(node) .SetCode(ErrorCodes.Data.MaxFilterOperationsExceeded) .SetExtension(nameof(filterOperations), filterOperations) .SetExtension(nameof(maxAllowedFilterOperations), maxAllowedFilterOperations) @@ -63,7 +57,6 @@ public static IError MaxAllowedFilterOperationsExceeded( public static IError CreateNonNullError( ISortField field, - IValueNode value, ISortVisitorContext context) { var sortType = context.Types.OfType().First(); @@ -73,7 +66,6 @@ public static IError CreateNonNullError( DataResources.ErrorHelper_CreateNonNullError, context.Fields.Peek().Name, sortType.Print()) - .AddLocation(value) .SetCode(ErrorCodes.Data.NonNullError) .SetExtension("expectedType", new NonNullType(field.Type).Print()) .SetExtension("sortType", sortType.Print()) @@ -91,18 +83,16 @@ public static ISchemaError ProjectionConvention_UnableToCreateFieldHandler( .SetException(exception) .Build(); - public static IError ProjectionProvider_CouldNotProjectFiltering(IValueNode node) => + public static IError ProjectionProvider_CouldNotProjectFiltering() => ErrorBuilder.New() .SetMessage(DataResources.ProjectionProvider_CouldNotProjectFiltering) - .AddLocation(node) .SetCode(ErrorCodes.Data.FilteringProjectionFailed) .Build(); - public static IError ProjectionProvider_CouldNotProjectSorting(IValueNode node) => + public static IError ProjectionProvider_CouldNotProjectSorting() => ErrorBuilder.New() .SetMessage(DataResources.ProjectionProvider_CouldNotProjectSorting) .SetCode(ErrorCodes.Data.SortingProjectionFailed) - .AddLocation(node) .Build(); public static IError ProjectionVisitor_NodeFieldWasNotFound(IPageType pageType) => diff --git a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/Comparable/QueryableComparableOperationHandler.cs b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/Comparable/QueryableComparableOperationHandler.cs index ee44da7f589..c9e411770fd 100644 --- a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/Comparable/QueryableComparableOperationHandler.cs +++ b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/Comparable/QueryableComparableOperationHandler.cs @@ -62,7 +62,9 @@ public override bool CanHandle( /// The visitor context /// The converted value protected object? ParseValue( +#pragma warning disable RCS1163 // Unused parameter IValueNode node, +#pragma warning restore RCS1163 // Unused parameter object? parsedValue, IType type, QueryableFilterContext context) @@ -82,7 +84,7 @@ public override bool CanHandle( { var listType = typeof(List<>).MakeGenericType(returnType); parsedValue = TypeConverter.Convert(typeof(object), listType, parsedValue) ?? - throw ThrowHelper.FilterConvention_CouldNotConvertValue(node); + throw ThrowHelper.FilterConvention_CouldNotConvertValue(); } return parsedValue; @@ -91,7 +93,7 @@ public override bool CanHandle( if (!returnType.IsInstanceOfType(parsedValue)) { parsedValue = TypeConverter.Convert(typeof(object), returnType, parsedValue) ?? - throw ThrowHelper.FilterConvention_CouldNotConvertValue(node); + throw ThrowHelper.FilterConvention_CouldNotConvertValue(); } return parsedValue; diff --git a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/List/QueryableListOperationHandlerBase.cs b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/List/QueryableListOperationHandlerBase.cs index 0b043f3a8b8..ce8fa4d6751 100644 --- a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/List/QueryableListOperationHandlerBase.cs +++ b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/List/QueryableListOperationHandlerBase.cs @@ -42,7 +42,7 @@ public override bool TryHandleEnter( if (node.Value.IsNull()) { context.ReportError( - ErrorHelper.CreateNonNullError(field, node.Value, context)); + ErrorHelper.CreateNonNullError(field, context)); action = SyntaxVisitor.Skip; diff --git a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/QueryableDefaultFieldHandler.cs b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/QueryableDefaultFieldHandler.cs index fdfab0a0a1a..0e26568a270 100644 --- a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/QueryableDefaultFieldHandler.cs +++ b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/QueryableDefaultFieldHandler.cs @@ -39,7 +39,7 @@ public override bool TryHandleEnter( if (node.Value.IsNull()) { context.ReportError( - ErrorHelper.CreateNonNullError(field, node.Value, context)); + ErrorHelper.CreateNonNullError(field, context)); action = SyntaxVisitor.Skip; diff --git a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/QueryableOperationHandlerBase.cs b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/QueryableOperationHandlerBase.cs index aa4e99874b4..bae15e29b97 100644 --- a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/QueryableOperationHandlerBase.cs +++ b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/QueryableOperationHandlerBase.cs @@ -36,7 +36,7 @@ public override bool TryHandleOperation( if ((!runtimeType.IsNullable || !CanBeNull) && parsedValue is null) { - var error = ErrorHelper.CreateNonNullError(field, value, context); + var error = ErrorHelper.CreateNonNullError(field, context); context.ReportError(error); result = null!; return false; @@ -44,7 +44,7 @@ public override bool TryHandleOperation( if (!ValueNullabilityHelpers.IsListValueValid(field.Type, runtimeType, node.Value)) { - var error = ErrorHelper.CreateNonNullError(field, value, context, true); + var error = ErrorHelper.CreateNonNullError(field, context, true); context.ReportError(error); result = null!; return false; diff --git a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringContainsHandler.cs b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringContainsHandler.cs index a439ea16c31..b660275f925 100644 --- a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringContainsHandler.cs +++ b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringContainsHandler.cs @@ -24,7 +24,7 @@ public override Expression HandleOperation( if (parsedValue is null) { - throw new GraphQLException(ErrorHelper.CreateNonNullError(field, value, context)); + throw new GraphQLException(ErrorHelper.CreateNonNullError(field, context)); } return FilterExpressionBuilder.Contains(property, parsedValue); diff --git a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringEndsWithHandler.cs b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringEndsWithHandler.cs index 558eedea1b7..d45f6b2d5b8 100644 --- a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringEndsWithHandler.cs +++ b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringEndsWithHandler.cs @@ -23,7 +23,7 @@ public override Expression HandleOperation( if (parsedValue is null) { - throw new GraphQLException(ErrorHelper.CreateNonNullError(field, value, context)); + throw new GraphQLException(ErrorHelper.CreateNonNullError(field, context)); } return FilterExpressionBuilder.EndsWith(property, parsedValue); diff --git a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringNotContainsHandler.cs b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringNotContainsHandler.cs index 3b6268830c6..bcf2d9b403b 100644 --- a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringNotContainsHandler.cs +++ b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringNotContainsHandler.cs @@ -23,7 +23,7 @@ public override Expression HandleOperation( if (parsedValue is null) { - throw new GraphQLException(ErrorHelper.CreateNonNullError(field, value, context)); + throw new GraphQLException(ErrorHelper.CreateNonNullError(field, context)); } return FilterExpressionBuilder.NotContains(property, parsedValue); diff --git a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringNotEndsWithHandler.cs b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringNotEndsWithHandler.cs index e58cce352c4..191517c2dd2 100644 --- a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringNotEndsWithHandler.cs +++ b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringNotEndsWithHandler.cs @@ -23,7 +23,7 @@ public override Expression HandleOperation( if (parsedValue is null) { - throw new GraphQLException(ErrorHelper.CreateNonNullError(field, value, context)); + throw new GraphQLException(ErrorHelper.CreateNonNullError(field, context)); } return FilterExpressionBuilder.Not( diff --git a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringNotStartsWithHandler.cs b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringNotStartsWithHandler.cs index 089ca11a5f9..bd6c913068f 100644 --- a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringNotStartsWithHandler.cs +++ b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringNotStartsWithHandler.cs @@ -21,7 +21,7 @@ public override Expression HandleOperation( { if (parsedValue is null) { - throw new GraphQLException(ErrorHelper.CreateNonNullError(field, value, context)); + throw new GraphQLException(ErrorHelper.CreateNonNullError(field, context)); } var property = context.GetInstance(); diff --git a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringStartsWithHandler.cs b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringStartsWithHandler.cs index 1a4c301a224..32aa519f87e 100644 --- a/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringStartsWithHandler.cs +++ b/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringStartsWithHandler.cs @@ -23,7 +23,7 @@ public override Expression HandleOperation( if (parsedValue is null) { - throw new GraphQLException(ErrorHelper.CreateNonNullError(field, value, context)); + throw new GraphQLException(ErrorHelper.CreateNonNullError(field, context)); } return FilterExpressionBuilder.StartsWith(property, parsedValue); diff --git a/src/HotChocolate/Data/src/Data/Filters/Expressions/QueryableFilterProvider.cs b/src/HotChocolate/Data/src/Data/Filters/Expressions/QueryableFilterProvider.cs index 1a8eb879043..31f93d450bd 100644 --- a/src/HotChocolate/Data/src/Data/Filters/Expressions/QueryableFilterProvider.cs +++ b/src/HotChocolate/Data/src/Data/Filters/Expressions/QueryableFilterProvider.cs @@ -144,7 +144,6 @@ when type.NamedType() is InputObjectType inputObject: { throw new GraphQLException( ErrorHelper.MaxAllowedFilterOperationsExceeded( - fieldValue.Value, filterOperations, maxAllowedFilterOperations)); } diff --git a/src/HotChocolate/Data/src/Data/Projections/Expressions/Interceptor/QueryableFilterInterceptor.cs b/src/HotChocolate/Data/src/Data/Projections/Expressions/Interceptor/QueryableFilterInterceptor.cs index 7bbe6526716..a5206b66b83 100644 --- a/src/HotChocolate/Data/src/Data/Projections/Expressions/Interceptor/QueryableFilterInterceptor.cs +++ b/src/HotChocolate/Data/src/Data/Projections/Expressions/Interceptor/QueryableFilterInterceptor.cs @@ -58,7 +58,7 @@ public void BeforeProjection( Expression.Constant( Array.CreateInstance(filterInputType.EntityType.Source, 0))); context.ReportError( - ProjectionProvider_CouldNotProjectFiltering(valueNode)); + ProjectionProvider_CouldNotProjectFiltering()); } } } diff --git a/src/HotChocolate/Data/src/Data/Projections/Expressions/Interceptor/QueryableSortInterceptor.cs b/src/HotChocolate/Data/src/Data/Projections/Expressions/Interceptor/QueryableSortInterceptor.cs index 38e08e29177..b09bb452eaa 100644 --- a/src/HotChocolate/Data/src/Data/Projections/Expressions/Interceptor/QueryableSortInterceptor.cs +++ b/src/HotChocolate/Data/src/Data/Projections/Expressions/Interceptor/QueryableSortInterceptor.cs @@ -46,7 +46,7 @@ public void BeforeProjection( else { context.PushInstance(Expression.Constant(Array.CreateInstance(sortInputType.EntityType.Source, 0))); - context.ReportError(ProjectionProvider_CouldNotProjectSorting(valueNode)); + context.ReportError(ProjectionProvider_CouldNotProjectSorting()); } } } diff --git a/src/HotChocolate/Data/src/Data/Sorting/Expressions/Handlers/QueryableDefaultSortFieldHandler.cs b/src/HotChocolate/Data/src/Data/Sorting/Expressions/Handlers/QueryableDefaultSortFieldHandler.cs index 848a49d8278..794e23c6319 100644 --- a/src/HotChocolate/Data/src/Data/Sorting/Expressions/Handlers/QueryableDefaultSortFieldHandler.cs +++ b/src/HotChocolate/Data/src/Data/Sorting/Expressions/Handlers/QueryableDefaultSortFieldHandler.cs @@ -25,7 +25,7 @@ public override bool TryHandleEnter( if (node.Value.IsNull()) { context.ReportError( - ErrorHelper.CreateNonNullError(field, node.Value, context)); + ErrorHelper.CreateNonNullError(field, context)); action = SyntaxVisitor.Skip; return true; diff --git a/src/HotChocolate/Data/src/Data/Sorting/Expressions/Handlers/QueryableOperationHandlerBase.cs b/src/HotChocolate/Data/src/Data/Sorting/Expressions/Handlers/QueryableOperationHandlerBase.cs index b67f3f9ab5c..79fd903e28f 100644 --- a/src/HotChocolate/Data/src/Data/Sorting/Expressions/Handlers/QueryableOperationHandlerBase.cs +++ b/src/HotChocolate/Data/src/Data/Sorting/Expressions/Handlers/QueryableOperationHandlerBase.cs @@ -34,7 +34,7 @@ public override bool TryHandleEnter( if (sortEnumValue is null) { context.ReportError( - ErrorHelper.CreateNonNullError(field, valueNode, context)); + ErrorHelper.CreateNonNullError(field, context)); action = null!; return false; diff --git a/src/HotChocolate/Data/src/Data/Sorting/Visitor/SortVisitorBase`2.cs b/src/HotChocolate/Data/src/Data/Sorting/Visitor/SortVisitorBase`2.cs index ac9bd20cfaf..04448814117 100644 --- a/src/HotChocolate/Data/src/Data/Sorting/Visitor/SortVisitorBase`2.cs +++ b/src/HotChocolate/Data/src/Data/Sorting/Visitor/SortVisitorBase`2.cs @@ -83,7 +83,7 @@ protected override ISyntaxVisitorAction Enter( if (context.Fields.Count > 0 && context.Fields.Peek() is ISortField sortField) { - context.ReportError(ErrorHelper.SortingVisitor_ListValues(sortField, node)); + context.ReportError(ErrorHelper.SortingVisitor_ListValues(sortField)); } else { @@ -100,7 +100,7 @@ protected override ISyntaxVisitorAction Leave( if (context.Fields.Count > 0 && context.Fields.Peek() is ISortField sortField) { - context.ReportError(ErrorHelper.SortingVisitor_ListValues(sortField, node)); + context.ReportError(ErrorHelper.SortingVisitor_ListValues(sortField)); } else { diff --git a/src/HotChocolate/Data/src/Data/ThrowHelper.cs b/src/HotChocolate/Data/src/Data/ThrowHelper.cs index 9133a0fa9a6..4b273cdab91 100644 --- a/src/HotChocolate/Data/src/Data/ThrowHelper.cs +++ b/src/HotChocolate/Data/src/Data/ThrowHelper.cs @@ -117,11 +117,10 @@ public static SchemaException FilterInterceptor_OperationHasNoTypeSpecified( type.Name) .Build()); - public static GraphQLException FilterConvention_CouldNotConvertValue(IValueNode node) => + public static GraphQLException FilterConvention_CouldNotConvertValue() => new GraphQLException( ErrorBuilder.New() .SetMessage(DataResources.FilterConvention_CouldNotConvertValue) - .AddLocation(node) .Build()); public static SchemaException FilterObjectFieldDescriptorExtensions_CannotInfer() => diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap index 60945842d9e..e61b526dd3a 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap @@ -30,12 +30,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap index dd09541b6d6..798434dda67 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap @@ -52,12 +52,6 @@ null "errors": [ { "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap index 88e0d4a9c45..37044650937 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap @@ -42,12 +42,6 @@ null "errors": [ { "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap index a32d36fc072..b6e98598828 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap @@ -36,12 +36,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap index 27b87c000a1..9cb0ccafeb5 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap @@ -52,12 +52,6 @@ null "errors": [ { "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap index f43ceb2908f..5f9fa7fb4bf 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap @@ -42,12 +42,6 @@ null "errors": [ { "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap index 989091199e8..8dfbb4c7b37 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap @@ -36,12 +36,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap index c47de6c34e8..02cafc5f485 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap @@ -42,12 +42,6 @@ null "errors": [ { "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap index 16fe92862ba..e1d369021f0 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap @@ -52,12 +52,6 @@ null "errors": [ { "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap index dc1e3b22e6a..f4a486d9d8c 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap @@ -30,12 +30,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `nin` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap index 6527abe342d..2555fc28ae3 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap @@ -42,12 +42,6 @@ null "errors": [ { "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap index 15bcd79726f..eb87d05b982 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap @@ -52,12 +52,6 @@ null "errors": [ { "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap index dd09541b6d6..798434dda67 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap @@ -52,12 +52,6 @@ null "errors": [ { "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap index 88e0d4a9c45..37044650937 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap @@ -42,12 +42,6 @@ null "errors": [ { "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap index 27b87c000a1..9cb0ccafeb5 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap @@ -52,12 +52,6 @@ null "errors": [ { "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap index f43ceb2908f..5f9fa7fb4bf 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap @@ -42,12 +42,6 @@ null "errors": [ { "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap index f8dc2655ba8..5ba9855b05c 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap @@ -52,12 +52,6 @@ null "errors": [ { "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap index 915d3c6c4f7..3134aa07e05 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap @@ -61,12 +61,6 @@ null "errors": [ { "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap index 237721a4617..27ef5fe44f9 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap @@ -52,12 +52,6 @@ null "errors": [ { "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap index 4e705543b95..1c3bac0b9ab 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap @@ -61,12 +61,6 @@ null "errors": [ { "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap index f596a3f216b..6cb7ead89b2 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap @@ -30,12 +30,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap index beb5199196e..01501b77770 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap @@ -42,12 +42,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression.snap index 5045e4ce465..e2a5dcb74c2 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression.snap @@ -32,12 +32,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type IntOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_ShortEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_ShortEqual_Expression.snap index 9f4abf53dc6..9d26303044a 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_ShortEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_ShortEqual_Expression.snap @@ -30,12 +30,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type IdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_ShortIn_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_ShortIn_Expression.snap index c253f3c865a..a22e9f6fa2e 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_ShortIn_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_ShortIn_Expression.snap @@ -36,12 +36,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `in` of type IdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_ShortNotEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_ShortNotEqual_Expression.snap index 96e94b14e28..86a6d0d8360 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_ShortNotEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_ShortNotEqual_Expression.snap @@ -36,12 +36,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type IdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_ShortNotIn_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_ShortNotIn_Expression.snap index d32d02713b6..0b3e8803dd4 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_ShortNotIn_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_ShortNotIn_Expression.snap @@ -30,12 +30,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `nin` of type IdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_StringIdEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_StringIdEqual_Expression.snap index 2e8684592b9..8c3f79701ec 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_StringIdEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_StringIdEqual_Expression.snap @@ -30,12 +30,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type IdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_StringIdIn_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_StringIdIn_Expression.snap index 593bd83e108..5c5ea4a2317 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_StringIdIn_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_StringIdIn_Expression.snap @@ -20,12 +20,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `in` of type IdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_StringIdNotEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_StringIdNotEqual_Expression.snap index f5e92824e80..82922021da8 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_StringIdNotEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_StringIdNotEqual_Expression.snap @@ -30,12 +30,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type IdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_StringIdNotIn_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_StringIdNotIn_Expression.snap index 855e76ec0f4..238f7e9f6bc 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_StringIdNotIn_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorIdTests.Create_StringIdNotIn_Expression.snap @@ -13,12 +13,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `nin` of type IdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap index 3288596e425..1a6c9502f87 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap @@ -34,12 +34,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression.snap index 3e5ab4fb339..526645136da 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression.snap @@ -88,12 +88,6 @@ null "errors": [ { "message": "The provided value for filter `all` of type FooNestedFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap index 9e948a4efb6..2415d087633 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap @@ -45,12 +45,6 @@ null "errors": [ { "message": "The provided value for filter `any` of type ListBarFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 44 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap index f248addcbca..cd62975c4ed 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap @@ -46,12 +46,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 70 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap index 2271ec0c3f0..f59fc518cb0 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap @@ -34,12 +34,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type BarEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNull.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNull.snap index e80fc2a6b2e..40b03f82c9f 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNull.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectNull.snap @@ -29,12 +29,6 @@ null "errors": [ { "message": "The provided value for filter `foo` of type FooNullableFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 22 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap index 29a6470868a..11cf8a1254f 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap @@ -34,12 +34,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap index cbf84d25ea5..fdb1bf1d582 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap @@ -44,12 +44,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap index 434615048db..70734dff8e6 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap @@ -34,12 +34,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap index 608f9d69965..f24ffe4b96e 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap @@ -24,12 +24,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap index d2b30d385d6..2c9001aa68f 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap @@ -30,12 +30,6 @@ null "errors": [ { "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap index 0d0e88ea387..28c758945c9 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap @@ -30,12 +30,6 @@ null "errors": [ { "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap index a8f91bd9a3b..99f326cfd46 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap @@ -36,12 +36,6 @@ null "errors": [ { "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap index ce3baf442a3..48e6a0292b7 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap @@ -36,12 +36,6 @@ null "errors": [ { "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap index 5ba909adeb7..c3eb35f65a0 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap @@ -36,12 +36,6 @@ null "errors": [ { "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap index 44dcf4961f9..30bac5f44e8 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap @@ -30,12 +30,6 @@ null "errors": [ { "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap index d2b30d385d6..2c9001aa68f 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap @@ -30,12 +30,6 @@ null "errors": [ { "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap index 0d0e88ea387..28c758945c9 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap @@ -30,12 +30,6 @@ null "errors": [ { "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap index a995c1cbdf4..83b48eada7e 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap @@ -30,12 +30,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap index 93983f49044..203652d8e28 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap @@ -20,12 +20,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap index afc8b1efac2..4d60448f61f 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap @@ -30,12 +30,6 @@ null "errors": [ { "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap index 8b67c71fe29..69a899094c6 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap @@ -30,12 +30,6 @@ null "errors": [ { "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap index 321b064e1f2..3e110e4e23f 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap @@ -30,12 +30,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap index 5f80d40d8ed..4a47000261c 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap @@ -13,12 +13,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `nin` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap index 4f9d1b36841..ad32787a72a 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap @@ -30,12 +30,6 @@ null "errors": [ { "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap index 44dcf4961f9..30bac5f44e8 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap @@ -30,12 +30,6 @@ null "errors": [ { "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStructTests.Create_ObjectNull.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStructTests.Create_ObjectNull.snap index 6301f0c08d4..4a2d83bd00d 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStructTests.Create_ObjectNull.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStructTests.Create_ObjectNull.snap @@ -34,12 +34,6 @@ null "errors": [ { "message": "The provided value for filter `foo` of type FooNullableFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 22 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStructTests.Create_ObjectShortEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStructTests.Create_ObjectShortEqual_Expression.snap index 29a6470868a..11cf8a1254f 100644 --- a/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStructTests.Create_ObjectShortEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.InMemory.Tests/__snapshots__/QueryableFilterVisitorStructTests.Create_ObjectShortEqual_Expression.snap @@ -34,12 +34,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap index db3bf4a24b4..f9b30c8b34f 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET8_0_NET9_0.snap index a17939f55fa..75581a2ca77 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression_NET8_0_NET9_0.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap index 6a883fa3fa1..dd5b38072d7 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET10_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET10_0.snap index 6a883fa3fa1..dd5b38072d7 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET10_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET10_0.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET8_0_NET9_0.snap index 99ff8e2b063..163d8f8263e 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression_NET8_0_NET9_0.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap index 59c6f1619da..0b70488994d 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET10_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET10_0.snap index 59c6f1619da..0b70488994d 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET10_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET10_0.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET8_0_NET9_0.snap index 4e8fb7b75a3..587d95891fb 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression_NET8_0_NET9_0.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap index 29169ac9085..94d8690f1b3 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap @@ -56,12 +56,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET10_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET10_0.snap index 29169ac9085..94d8690f1b3 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET10_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET10_0.snap @@ -56,12 +56,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET8_0_NET9_0.snap index a22ffff9cca..be0d96932b4 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression_NET8_0_NET9_0.snap @@ -60,12 +60,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap index 63a34989ec9..f23e35a71d5 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET10_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET10_0.snap index 63a34989ec9..f23e35a71d5 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET10_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET10_0.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET8_0_NET9_0.snap index 640e056d88f..a21aed653c8 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression_NET8_0_NET9_0.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap index 6cc8d7f6821..c36cfcd5b0b 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET10_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET10_0.snap index 6cc8d7f6821..c36cfcd5b0b 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET10_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET10_0.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET8_0_NET9_0.snap index c48d26fdcb3..596bce33f13 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression_NET8_0_NET9_0.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap index b4cdf6cf28e..3d570d5e3ce 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap @@ -54,12 +54,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET10_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET10_0.snap index b4cdf6cf28e..3d570d5e3ce 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET10_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET10_0.snap @@ -54,12 +54,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET8_0_NET9_0.snap index 8a60b5a2115..38edfc6a967 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression_NET8_0_NET9_0.snap @@ -54,12 +54,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap index 925ef96bc4e..ee7c245b5e8 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET10_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET10_0.snap index 925ef96bc4e..ee7c245b5e8 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET10_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET10_0.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET8_0_NET9_0.snap index 7c5543b5641..ec5eefdfd8a 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression_NET8_0_NET9_0.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap index 407a872dd15..6a23f60566c 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET10_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET10_0.snap index 407a872dd15..6a23f60566c 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET10_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET10_0.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET8_0_NET9_0.snap index 667b53e2d47..a141bcdd049 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression_NET8_0_NET9_0.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap index fbd1d43ab08..65fc7be3486 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap @@ -50,12 +50,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `nin` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET10_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET10_0.snap index fbd1d43ab08..65fc7be3486 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET10_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET10_0.snap @@ -50,12 +50,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `nin` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET8_0_NET9_0.snap index 6da4fd4e544..c57b086e7ff 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression_NET8_0_NET9_0.snap @@ -54,12 +54,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `nin` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap index 712a3b28bb5..c822c3cf613 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET10_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET10_0.snap index 712a3b28bb5..c822c3cf613 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET10_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET10_0.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET8_0_NET9_0.snap index 290cddb29de..bb2039c79e8 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression_NET8_0_NET9_0.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap index 8d9e9239a07..a7fdf81ea3a 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET10_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET10_0.snap index 8d9e9239a07..a7fdf81ea3a 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET10_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET10_0.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET8_0_NET9_0.snap index 3c7f19803ea..eeaf25238ff 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression_NET8_0_NET9_0.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap index 50376b84291..53a162b2202 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET10_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET10_0.snap index 50376b84291..53a162b2202 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET10_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET10_0.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET8_0_NET9_0.snap index 2f039cb53a5..30aaeee5e69 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression_NET8_0_NET9_0.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap index c1bea0679f4..1f7e183da05 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET8_0_NET9_0.snap index f1e76dbc41d..3b655a84c8a 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression_NET8_0_NET9_0.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap index 180a1a6ee28..314ddbbf141 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET10_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET10_0.snap index 180a1a6ee28..314ddbbf141 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET10_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET10_0.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET8_0_NET9_0.snap index 3cb54d1be73..0addc114d46 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression_NET8_0_NET9_0.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap index 54e49a5f24e..a3318cff7d8 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET10_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET10_0.snap index 54e49a5f24e..a3318cff7d8 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET10_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET10_0.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET8_0_NET9_0.snap index c65fb798240..4fe4ecdf7e7 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression_NET8_0_NET9_0.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap index 6d5f2c7b459..c4ac26eda29 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap @@ -88,12 +88,6 @@ null "errors": [ { "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET8_0.snap index 37eb74945d2..c822eca4198 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET8_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET8_0.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET9_0.snap index 2667e6aa075..f4f5585bf96 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression_NET9_0.snap @@ -88,12 +88,6 @@ null "errors": [ { "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap index 718eb6a6bd2..6f88fb88618 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap @@ -97,12 +97,6 @@ null "errors": [ { "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET8_0.snap index 03b11dadb36..6199ff673a7 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET8_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET8_0.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET9_0.snap index b989d260968..98768ddb9a5 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression_NET9_0.snap @@ -97,12 +97,6 @@ null "errors": [ { "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap index 8494dd7ad32..87dcecd02d0 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap @@ -88,12 +88,6 @@ null "errors": [ { "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET8_0.snap index e8103028e21..6439757197a 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET8_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET8_0.snap @@ -69,12 +69,6 @@ null "errors": [ { "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET9_0.snap index 9c32284c141..85ff1cada2f 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression_NET9_0.snap @@ -88,12 +88,6 @@ null "errors": [ { "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap index 9af33117708..4d0aa871e34 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap @@ -97,12 +97,6 @@ null "errors": [ { "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET8_0.snap index e717649b1f7..ff1bab3e03b 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET8_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET8_0.snap @@ -79,12 +79,6 @@ null "errors": [ { "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET9_0.snap index 4be821c0160..14ab67e53a9 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression_NET9_0.snap @@ -97,12 +97,6 @@ null "errors": [ { "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap index efdcd684f79..85f01917cd0 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET8_0_NET9_0.snap index fee4eb3d4af..a7cdbf0a736 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression_NET8_0_NET9_0.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap index 70e79e6972d..d8c563c9304 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap @@ -60,12 +60,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET8_0_NET9_0.snap index 5432abc2324..986f33d552e 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression_NET8_0_NET9_0.snap @@ -60,12 +60,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression.snap index ef7a8b954f0..29ccdf9d00b 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression.snap @@ -56,12 +56,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type IntOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression_NET8_0_NET9_0.snap index 68ee52add58..a5f93ec65a5 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorExpressionTests.Create_CollectionLengthExpression_NET8_0_NET9_0.snap @@ -56,12 +56,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type IntOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap index 245c50adcc7..cf5bebc4b2c 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap @@ -54,12 +54,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET8_0_NET9_0.snap index 30f200ccb38..5e0e753e4a6 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression_NET8_0_NET9_0.snap @@ -54,12 +54,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression.snap index 0a19b82f044..44136e8c072 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorListTests.Create_ArrayAnyObjectStringEqual_Expression.snap @@ -108,12 +108,6 @@ null "errors": [ { "message": "The provided value for filter `all` of type FooNestedFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap index 5b892d39517..b3ee6671847 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap @@ -120,12 +120,6 @@ null "errors": [ { "message": "The provided value for filter `any` of type ListBarFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 44 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap index 67fa1c8b66d..7ea113dd4b7 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap @@ -50,12 +50,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 70 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET8_0_NET9_0.snap index 1474f5f43c0..55eaf4fd740 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression_NET8_0_NET9_0.snap @@ -50,12 +50,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 70 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap index 5071856339a..597b7d85882 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap @@ -59,12 +59,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type BarEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET8_0_NET9_0.snap index 3369f483965..2b0a51eae6a 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression_NET8_0_NET9_0.snap @@ -59,12 +59,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type BarEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap index c8b5e0e6aac..2bfcc4ab96f 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap @@ -59,12 +59,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET8_0_NET9_0.snap index bfa7f565a8d..eef013c498f 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression_NET8_0_NET9_0.snap @@ -59,12 +59,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap index 19610fc49f5..7777ab53a03 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap @@ -76,12 +76,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET8_0_NET9_0.snap index 9e5609e3733..be3a6f52802 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression_NET8_0_NET9_0.snap @@ -80,12 +80,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap index 0b6a2b661c1..a096d7a08a0 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap @@ -64,12 +64,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET8_0_NET9_0.snap index e9902a99e08..51f4fddcd7c 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression_NET8_0_NET9_0.snap @@ -64,12 +64,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap index 444587d84f3..90b027b7882 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap @@ -45,12 +45,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET8_0_NET9_0.snap index 15c6c31d2b8..abe276ac226 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression_NET8_0_NET9_0.snap @@ -47,12 +47,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap index a0ace3f2075..401c32997b5 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET8_0_NET9_0.snap index 65b8d3c118b..f47f84b5cec 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression_NET8_0_NET9_0.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap index 0c6ddad2018..f2866f1d2cf 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET8_0_NET9_0.snap index 1b1d2c51906..92ee9d81af8 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression_NET8_0_NET9_0.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap index 6a7609055ba..092a85a906f 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap @@ -54,12 +54,6 @@ null "errors": [ { "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET8_0.snap index d9130fa78cf..06729efad7e 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET8_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET8_0.snap @@ -54,12 +54,6 @@ null "errors": [ { "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET9_0.snap index b1eccdc5016..90e6f0133e4 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression_NET9_0.snap @@ -54,12 +54,6 @@ null "errors": [ { "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap index 40b5f71a248..85ff649bf6c 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap @@ -54,12 +54,6 @@ null "errors": [ { "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET8_0_NET9_0.snap index 96e427a0820..e3abcadff2c 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression_NET8_0_NET9_0.snap @@ -54,12 +54,6 @@ null "errors": [ { "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap index 46ef0aab7eb..6eab1957e51 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap @@ -54,12 +54,6 @@ null "errors": [ { "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET8_0_NET9_0.snap index 77a754414f2..31e3ef8fc8f 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression_NET8_0_NET9_0.snap @@ -54,12 +54,6 @@ null "errors": [ { "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap index 3455343eef2..02a90bc2b1d 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET8_0_NET9_0.snap index ef3b1890a74..08e9813002e 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression_NET8_0_NET9_0.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap index bcacc6b82ed..6c33eaf7baf 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET8_0_NET9_0.snap index 06a53f9909b..41e6424482c 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression_NET8_0_NET9_0.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap index 9854e976e49..44b31b1ab31 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET8_0_NET9_0.snap index bdf5a199f37..51ffe7ce2cd 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression_NET8_0_NET9_0.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap index 30a4100fe0e..eb4354365ed 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET8_0_NET9_0.snap index d7944d2311b..a1a9f4672f7 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression_NET8_0_NET9_0.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap index 82855f7cd00..e8589586e08 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap @@ -30,12 +30,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET8_0_NET9_0.snap index ea83f18bfb9..bbb560c425b 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression_NET8_0_NET9_0.snap @@ -32,12 +32,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap index f27ccad99b5..f278b650772 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET8_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET8_0.snap index b620f7a446d..4aba186d2eb 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET8_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET8_0.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET9_0.snap index 4ff2d04f65b..baa8e3cad47 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression_NET9_0.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap index 1da2559cf8d..d58a4d8bc6e 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET8_0_NET9_0.snap index d9d444861dd..84e1064e4cb 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression_NET8_0_NET9_0.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap index 546ed5e6b5f..6a12c702a79 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET8_0_NET9_0.snap index c7eb9403233..866736a1b48 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression_NET8_0_NET9_0.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap index 8d79b3d265b..1951c63b896 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap @@ -23,12 +23,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `nin` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET8_0_NET9_0.snap index 43523d406a8..9b13f3e4a01 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression_NET8_0_NET9_0.snap @@ -25,12 +25,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `nin` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap index 550e068d623..ab1ff69310c 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET8_0_NET9_0.snap index 058fd6ff261..afa56fb5096 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression_NET8_0_NET9_0.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap index f2b36f6c370..79f5671e1c1 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET8_0_NET9_0.snap b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET8_0_NET9_0.snap index 3a8dc9fdd38..20e07438fe1 100644 --- a/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET8_0_NET9_0.snap +++ b/src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression_NET8_0_NET9_0.snap @@ -48,12 +48,6 @@ null "errors": [ { "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Data/test/Data.Filters.Tests/Context/FilterContextTests.cs b/src/HotChocolate/Data/test/Data.Filters.Tests/Context/FilterContextTests.cs index 76c539ca8a0..35d1c5d0b83 100644 --- a/src/HotChocolate/Data/test/Data.Filters.Tests/Context/FilterContextTests.cs +++ b/src/HotChocolate/Data/test/Data.Filters.Tests/Context/FilterContextTests.cs @@ -1,6 +1,10 @@ using System.Collections.Immutable; +using System.Text.Json; using HotChocolate.Data.Filters.Expressions; using HotChocolate.Execution; +using HotChocolate.Features; +using HotChocolate.Language; +using HotChocolate.Text.Json; using HotChocolate.Types; using Microsoft.Extensions.DependencyInjection; @@ -499,6 +503,48 @@ public async Task FilterContext_Should_NotFail_When_FilterArgumentIsNotProvided( context.ToDictionary().MatchSnapshot(); } + [Fact] + public async Task ExecuteAsync_Should_Report_Resolver_Path_When_Filter_Value_Cannot_Be_Parsed() + { + // arrange + var executor = await new ServiceCollection() + .AddGraphQL() + .AddQueryType(t => t + .Name("Query") + .Field("test") + .Type>>() + .UseFiltering() + .Resolve(ctx => + { + var context = ctx.GetFilterContext()!; + var field = Assert.Single(context.GetFields()); + var operation = Assert.Single(Assert.IsType(field.Value).GetOperations()); + _ = Assert.IsType(operation.Value).Value; + return Array.Empty(); + })) + .AddFiltering() + .BuildRequestExecutorAsync(cancellationToken: TestContext.Current.CancellationToken); + + // act + var result = await executor.ExecuteAsync( + """ + { + test(where: { url: { eq: "" } }) { + url + } + } + """, + TestContext.Current.CancellationToken); + + // assert + // the input path is not asserted as FilterValue parses without an input path. + var error = Assert.Single(result.ExpectOperationResult().Errors); + Assert.Equal("The value is not a valid image data URL.", error.Message); + Assert.Equal(["test"], error.Path!.ToList()); + Assert.Null(error.Locations); + Assert.Equal("ImageDataUrl", Assert.Contains("fieldType", error.Extensions!)); + } + public class Book { public int Id { get; set; } @@ -522,4 +568,64 @@ public class Author public string? Name { get; set; } } + + public class Avatar + { + public string? Url { get; set; } + } + + public class AvatarFilterInputType : FilterInputType + { + protected override void Configure(IFilterInputTypeDescriptor descriptor) + { + descriptor.BindFieldsExplicitly(); + descriptor.Field(t => t.Url).Type(); + } + } + + public class ImageDataUrlOperationFilterInputType : StringOperationFilterInputType + { + protected override void Configure(IFilterInputTypeDescriptor descriptor) + { + descriptor.Operation(DefaultFilterOperations.Equals).Type(); + } + } + + public class ImageDataUrlType : ScalarType + { + public ImageDataUrlType() + : base("ImageDataUrl") + { + } + + protected override string OnCoerceInputLiteral(StringValueNode valueLiteral) + { + return Validate(valueLiteral.Value); + } + + protected override string OnCoerceInputValue(JsonElement inputValue, IFeatureProvider context) + { + return Validate(inputValue.GetString()!); + } + + protected override void OnCoerceOutputValue(string runtimeValue, ResultElement resultValue) + { + resultValue.SetStringValue(Validate(runtimeValue)); + } + + protected override StringValueNode OnValueToLiteral(string runtimeValue) + { + return new StringValueNode(Validate(runtimeValue)); + } + + private string Validate(string runtimeValue) + { + if (!runtimeValue.StartsWith("data:image/", StringComparison.Ordinal)) + { + throw new LeafCoercionException("The value is not a valid image data URL.", this); + } + + return runtimeValue; + } + } } diff --git a/src/HotChocolate/Diagnostics/test/Diagnostics.Tests/__snapshots__/ActivityExecutionDiagnosticListenerTests.VariableCoercion_FailingScalar_RecordsErrorOnCoercionSpan.snap b/src/HotChocolate/Diagnostics/test/Diagnostics.Tests/__snapshots__/ActivityExecutionDiagnosticListenerTests.VariableCoercion_FailingScalar_RecordsErrorOnCoercionSpan.snap index 52af1eb5156..590957ec4cc 100644 --- a/src/HotChocolate/Diagnostics/test/Diagnostics.Tests/__snapshots__/ActivityExecutionDiagnosticListenerTests.VariableCoercion_FailingScalar_RecordsErrorOnCoercionSpan.snap +++ b/src/HotChocolate/Diagnostics/test/Diagnostics.Tests/__snapshots__/ActivityExecutionDiagnosticListenerTests.VariableCoercion_FailingScalar_RecordsErrorOnCoercionSpan.snap @@ -59,10 +59,6 @@ "Key": "graphql.error.message", "Value": "Mood cannot coerce the given value JSON element of type `String` to a runtime value." }, - { - "Key": "graphql.field.path", - "Value": "mood" - }, { "Key": "graphql.operation.type", "Value": "query" diff --git a/src/HotChocolate/Diagnostics/test/Diagnostics.Tests/__snapshots__/ActivityExecutionDiagnosticListenerTests.VariableCoercion_FailingScalar_RecordsErrorOnCoercionSpan_NET11_0.snap b/src/HotChocolate/Diagnostics/test/Diagnostics.Tests/__snapshots__/ActivityExecutionDiagnosticListenerTests.VariableCoercion_FailingScalar_RecordsErrorOnCoercionSpan_NET11_0.snap index 52af1eb5156..590957ec4cc 100644 --- a/src/HotChocolate/Diagnostics/test/Diagnostics.Tests/__snapshots__/ActivityExecutionDiagnosticListenerTests.VariableCoercion_FailingScalar_RecordsErrorOnCoercionSpan_NET11_0.snap +++ b/src/HotChocolate/Diagnostics/test/Diagnostics.Tests/__snapshots__/ActivityExecutionDiagnosticListenerTests.VariableCoercion_FailingScalar_RecordsErrorOnCoercionSpan_NET11_0.snap @@ -59,10 +59,6 @@ "Key": "graphql.error.message", "Value": "Mood cannot coerce the given value JSON element of type `String` to a runtime value." }, - { - "Key": "graphql.field.path", - "Value": "mood" - }, { "Key": "graphql.operation.type", "Value": "query" diff --git a/src/HotChocolate/Fusion/test/Fusion.Diagnostics.Tests/FusionActivityExecutionDiagnosticListenerTests.cs b/src/HotChocolate/Fusion/test/Fusion.Diagnostics.Tests/FusionActivityExecutionDiagnosticListenerTests.cs index 86809e40800..ec895a9b47a 100644 --- a/src/HotChocolate/Fusion/test/Fusion.Diagnostics.Tests/FusionActivityExecutionDiagnosticListenerTests.cs +++ b/src/HotChocolate/Fusion/test/Fusion.Diagnostics.Tests/FusionActivityExecutionDiagnosticListenerTests.cs @@ -554,6 +554,11 @@ public async Task DefaultScopes_ExcludesExecuteRequestAndParseDocumentSpans() } } + // The source schema rejects the value, so the coercion error is a source schema request + // error: it carries no path, and its input position travels in the extensions. The gateway + // relays it verbatim as a root error and then fills the still unresolved greetMood field + // with its standard "Unexpected Execution Error" fallback, which is the second recorded + // error. [Fact] public async Task VariableCoercion_FailingScalar_RecordsErrorOnCoercionSpan() { diff --git a/src/HotChocolate/Fusion/test/Fusion.Diagnostics.Tests/__snapshots__/FusionActivityExecutionDiagnosticListenerTests.VariableCoercion_FailingScalar_RecordsErrorOnCoercionSpan.snap b/src/HotChocolate/Fusion/test/Fusion.Diagnostics.Tests/__snapshots__/FusionActivityExecutionDiagnosticListenerTests.VariableCoercion_FailingScalar_RecordsErrorOnCoercionSpan.snap index 1cfb522ed23..9f46165f274 100644 --- a/src/HotChocolate/Fusion/test/Fusion.Diagnostics.Tests/__snapshots__/FusionActivityExecutionDiagnosticListenerTests.VariableCoercion_FailingScalar_RecordsErrorOnCoercionSpan.snap +++ b/src/HotChocolate/Fusion/test/Fusion.Diagnostics.Tests/__snapshots__/FusionActivityExecutionDiagnosticListenerTests.VariableCoercion_FailingScalar_RecordsErrorOnCoercionSpan.snap @@ -23,7 +23,7 @@ }, { "Key": "graphql.error.count", - "Value": 1 + "Value": 2 }, { "Key": "error.type", @@ -46,6 +46,23 @@ "Key": "graphql.error.message", "Value": "Mood cannot coerce the given value JSON element of type `String` to a runtime value." }, + { + "Key": "graphql.operation.type", + "Value": "query" + }, + { + "Key": "graphql.document.hash", + "Value": "md5:6e78386576e454e4780875a7606e0d16" + } + ] + }, + { + "Name": "graphql.error", + "Tags": [ + { + "Key": "graphql.error.message", + "Value": "Unexpected Execution Error" + }, { "Key": "graphql.field.path", "Value": "greetMood" diff --git a/src/HotChocolate/Fusion/test/Fusion.Diagnostics.Tests/__snapshots__/FusionActivityExecutionDiagnosticListenerTests.VariableCoercion_FailingScalar_RecordsErrorOnCoercionSpan_NET11_0.snap b/src/HotChocolate/Fusion/test/Fusion.Diagnostics.Tests/__snapshots__/FusionActivityExecutionDiagnosticListenerTests.VariableCoercion_FailingScalar_RecordsErrorOnCoercionSpan_NET11_0.snap index 524c0127e6d..2c3118f5fe5 100644 --- a/src/HotChocolate/Fusion/test/Fusion.Diagnostics.Tests/__snapshots__/FusionActivityExecutionDiagnosticListenerTests.VariableCoercion_FailingScalar_RecordsErrorOnCoercionSpan_NET11_0.snap +++ b/src/HotChocolate/Fusion/test/Fusion.Diagnostics.Tests/__snapshots__/FusionActivityExecutionDiagnosticListenerTests.VariableCoercion_FailingScalar_RecordsErrorOnCoercionSpan_NET11_0.snap @@ -23,7 +23,7 @@ }, { "Key": "graphql.error.count", - "Value": 1 + "Value": 2 }, { "Key": "error.type", @@ -46,6 +46,23 @@ "Key": "graphql.error.message", "Value": "Mood cannot coerce the given value JSON element of type `String` to a runtime value." }, + { + "Key": "graphql.operation.type", + "Value": "query" + }, + { + "Key": "graphql.document.hash", + "Value": "md5:6e78386576e454e4780875a7606e0d16" + } + ] + }, + { + "Name": "graphql.error", + "Tags": [ + { + "Key": "graphql.error.message", + "Value": "Unexpected Execution Error" + }, { "Key": "graphql.field.path", "Value": "greetMood" diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap index 9d664651e49..1dc10d453c7 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap index 6284670e2f8..2b057fa36b9 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap index 4964357a962..6d2a13fd892 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap index 196683052a5..60ab9e0b367 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap @@ -46,12 +46,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap index 497d88db3f9..5b1e71a49db 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap index 274f5fbee94..57322ecec85 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap index 902b6e15432..ff9c21610b6 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap @@ -46,12 +46,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap index 4d91013853e..e83f64866e2 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap index 0dc47d1743d..84ca4b505c9 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap index 641be1f494e..974553c625d 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap @@ -40,12 +40,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `nin` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap index 25299d98706..939bf805833 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap index a3c329c35c9..7679f6ffa5f 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap index e35ae1cf93a..0073846c81a 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap index ecef54ecd80..8a3d2281f93 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap index 6f65edf4cb3..0e844ba78a0 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap index e38dac84f61..40975d1f4d8 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap index bd6ffe01c74..82e2ba91db2 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap index 8da1294e362..513a7cfb166 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap index 1be2c298ae5..bac5eb996b6 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap index 2742e0aa134..2d684c729f3 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap index 3a4893aecd9..e7068bd3868 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap index 9324d482e0d..db60381b874 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap @@ -52,12 +52,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap index 7fb65257812..2eef5583b6b 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap @@ -44,12 +44,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap index 110d08d14de..a981fb3b799 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap @@ -61,12 +61,6 @@ null "errors": [ { "message": "The provided value for filter `any` of type ListFilterInputTypeOfBarFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 44 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap index 2d3d682d038..fec07fd275c 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap @@ -56,12 +56,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 70 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap index 6402c699804..5874393504e 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap @@ -44,12 +44,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type BarEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap index 34748cb32a2..00525bed4eb 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap @@ -44,12 +44,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap index d47281ab8e8..1db2bdac159 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap @@ -54,12 +54,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap index 2667f832c49..5e90e285e13 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap @@ -44,12 +44,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap index ad98869e30c..a3cc7c829b2 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap @@ -29,12 +29,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap index 34307dd2dbf..850dd22a372 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap index f60a934b19b..cfe5fc7e970 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap index b801ee30046..38341a10924 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap @@ -46,12 +46,6 @@ null "errors": [ { "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap index 4c72526e216..2b2dcd59873 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap @@ -46,12 +46,6 @@ null "errors": [ { "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap index 3e42e037d9b..248f63e468c 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap @@ -46,12 +46,6 @@ null "errors": [ { "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap index 4fff482f4a4..8d52b77092e 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap index 5098d6c46b7..e0ad57555c1 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap index 4807594d7ee..1851ce015ff 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap index 0dc11d7c231..3fcea244bad 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap index 61d0456ea5c..a66ac99de59 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap @@ -25,12 +25,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap index 3ef43e331e2..e182860591b 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap index f24a9529bdd..22516a41dc7 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap index 3fc25b3d25e..af2c84ef210 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap index 4001c08d908..52fe6300d45 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap @@ -18,12 +18,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `nin` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap index 5b101e8cf81..276fc81fbda 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap index a51eb2744d0..3575d8d2b3c 100644 --- a/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap +++ b/src/HotChocolate/Marten/test/Data.Marten.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/src/Data/ErrorHelper.cs b/src/HotChocolate/MongoDb/src/Data/ErrorHelper.cs index 659a1464d26..2d2d59bd7e6 100644 --- a/src/HotChocolate/MongoDb/src/Data/ErrorHelper.cs +++ b/src/HotChocolate/MongoDb/src/Data/ErrorHelper.cs @@ -1,6 +1,5 @@ using HotChocolate.Data.Filters; using HotChocolate.Data.Sorting; -using HotChocolate.Language; using HotChocolate.Types; namespace HotChocolate.Data.MongoDb; @@ -9,7 +8,6 @@ internal static class ErrorHelper { public static IError CreateNonNullError( IFilterField field, - IValueNode value, IFilterVisitorContext context, bool isMemberInvalid = false) { @@ -25,7 +23,6 @@ public static IError CreateNonNullError( MongoDbResources.ErrorHelper_Filtering_CreateNonNullError, context.Operations.Peek().Name, filterType.Print()) - .AddLocation(value) .SetCode(ErrorCodes.Data.NonNullError) .SetExtension("expectedType", expectedType.Print()) .SetExtension("filterType", filterType.Print()) @@ -34,7 +31,6 @@ public static IError CreateNonNullError( public static IError CreateNonNullError( ISortField field, - IValueNode value, ISortVisitorContext context) { var sortType = context.Types.OfType().First(); @@ -44,7 +40,6 @@ public static IError CreateNonNullError( MongoDbResources.ErrorHelper_Filtering_CreateNonNullError, context.Fields.Peek().Name, sortType.Print()) - .AddLocation(value) .SetCode(ErrorCodes.Data.NonNullError) .SetExtension("expectedType", new NonNullType(field.Type).Print()) .SetExtension("sortType", sortType.Print()) diff --git a/src/HotChocolate/MongoDb/src/Data/Filters/Handlers/List/MongoDbListOperationHandlerBase.cs b/src/HotChocolate/MongoDb/src/Data/Filters/Handlers/List/MongoDbListOperationHandlerBase.cs index b91e8d0fa92..a3701694500 100644 --- a/src/HotChocolate/MongoDb/src/Data/Filters/Handlers/List/MongoDbListOperationHandlerBase.cs +++ b/src/HotChocolate/MongoDb/src/Data/Filters/Handlers/List/MongoDbListOperationHandlerBase.cs @@ -43,7 +43,7 @@ public override bool TryHandleEnter( if (node.Value.IsNull()) { context.ReportError( - ErrorHelper.CreateNonNullError(field, node.Value, context)); + ErrorHelper.CreateNonNullError(field, context)); action = SyntaxVisitor.Skip; return true; diff --git a/src/HotChocolate/MongoDb/src/Data/Filters/Handlers/MongoDbDefaultFieldHandler.cs b/src/HotChocolate/MongoDb/src/Data/Filters/Handlers/MongoDbDefaultFieldHandler.cs index b80ab2ffedc..63776353451 100644 --- a/src/HotChocolate/MongoDb/src/Data/Filters/Handlers/MongoDbDefaultFieldHandler.cs +++ b/src/HotChocolate/MongoDb/src/Data/Filters/Handlers/MongoDbDefaultFieldHandler.cs @@ -38,7 +38,7 @@ public override bool TryHandleEnter( { if (node.Value.IsNull()) { - context.ReportError(ErrorHelper.CreateNonNullError(field, node.Value, context)); + context.ReportError(ErrorHelper.CreateNonNullError(field, context)); action = SyntaxVisitor.Skip; return true; diff --git a/src/HotChocolate/MongoDb/src/Data/Filters/Handlers/MongoDbOperationHandlerBase.cs b/src/HotChocolate/MongoDb/src/Data/Filters/Handlers/MongoDbOperationHandlerBase.cs index 38dc10ead05..31564c77dac 100644 --- a/src/HotChocolate/MongoDb/src/Data/Filters/Handlers/MongoDbOperationHandlerBase.cs +++ b/src/HotChocolate/MongoDb/src/Data/Filters/Handlers/MongoDbOperationHandlerBase.cs @@ -39,7 +39,7 @@ public override bool TryHandleOperation( if ((!runtimeType.IsNullable || !CanBeNull) && parsedValue is null) { - var error = ErrorHelper.CreateNonNullError(field, value, context); + var error = ErrorHelper.CreateNonNullError(field, context); context.ReportError(error); result = null!; return false; @@ -47,7 +47,7 @@ public override bool TryHandleOperation( if (!ValueNullabilityHelpers.IsListValueValid(field.Type, runtimeType, node.Value)) { - var error = ErrorHelper.CreateNonNullError(field, value, context, true); + var error = ErrorHelper.CreateNonNullError(field, context, true); context.ReportError(error); result = null!; return false; diff --git a/src/HotChocolate/MongoDb/src/Data/Sorting/Handlers/MongoDbDefaultSortFieldHandler.cs b/src/HotChocolate/MongoDb/src/Data/Sorting/Handlers/MongoDbDefaultSortFieldHandler.cs index a938b08bb8a..60fde9cf8c4 100644 --- a/src/HotChocolate/MongoDb/src/Data/Sorting/Handlers/MongoDbDefaultSortFieldHandler.cs +++ b/src/HotChocolate/MongoDb/src/Data/Sorting/Handlers/MongoDbDefaultSortFieldHandler.cs @@ -26,7 +26,7 @@ public override bool TryHandleEnter( if (node.Value.IsNull()) { context.ReportError( - ErrorHelper.CreateNonNullError(field, node.Value, context)); + ErrorHelper.CreateNonNullError(field, context)); action = SyntaxVisitor.Skip; return true; diff --git a/src/HotChocolate/MongoDb/src/Data/Sorting/Handlers/MongoDbSortOperationHandlerBase.cs b/src/HotChocolate/MongoDb/src/Data/Sorting/Handlers/MongoDbSortOperationHandlerBase.cs index c2e7c92db47..e1b99f8045c 100644 --- a/src/HotChocolate/MongoDb/src/Data/Sorting/Handlers/MongoDbSortOperationHandlerBase.cs +++ b/src/HotChocolate/MongoDb/src/Data/Sorting/Handlers/MongoDbSortOperationHandlerBase.cs @@ -37,7 +37,7 @@ public override bool TryHandleEnter( if (sortValue is null) { context.ReportError( - ErrorHelper.CreateNonNullError(field, node, context)); + ErrorHelper.CreateNonNullError(field, context)); action = null; return false; diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression.snap index 5dfbc6aeee4..20a0cf3af22 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 2, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime.snap index c0327fca6a0..371cdbc9702 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type DateTimeOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap index a24b8c83e89..96588f4ac99 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap index 247232deff8..e93f7e7a4d8 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortIn_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortIn_Expression.snap index 2b493d44f3a..73310163fa6 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortIn_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortIn_Expression.snap @@ -46,12 +46,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap index 4a626a05f34..dae26281ac5 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap index ee8746b1d7c..a97ed420b0f 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap index eeb20301bac..44d50badc8b 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap @@ -46,12 +46,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap index 08b0ef424f8..db87f1ee2e3 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap index d289dd3e976..a5e6119dd1e 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap index 8fe2d020666..6d106bf4398 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap @@ -40,12 +40,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `nin` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap index 077132d6bc6..1ada901ea91 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap index 4ee1529d33f..05180b591e3 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap index a24b8c83e89..96588f4ac99 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap index 247232deff8..e93f7e7a4d8 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap index 4a626a05f34..dae26281ac5 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap index ee8746b1d7c..a97ed420b0f 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap index 9518e642a46..65524f0d8ac 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap index 4adeeeba433..1aa55e427cc 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap @@ -76,12 +76,6 @@ null "errors": [ { "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap index 424364f93ae..76182755b27 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap index 042082fa371..95bf81d71e9 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap @@ -76,12 +76,6 @@ null "errors": [ { "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumEqual_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumEqual_Expression.snap index 4f913bed417..f87bc3c6417 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumEqual_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumEqual_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap index e2a27d53d4e..d8cad4d8bd6 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap @@ -52,12 +52,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdEqual_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdEqual_Expression.snap index fda2c155676..13d29ff5a6d 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdEqual_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdEqual_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThanOrEquals_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThanOrEquals_Expression.snap index ac7fa43e507..3bf3fd8b491 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `gte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThan_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThan_Expression.snap index c5c9347fbdf..d33f77bc4c8 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThan_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdGreaterThan_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `gt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdIn_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdIn_Expression.snap index 91f72e7ffb6..76fc6950e87 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdIn_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdIn_Expression.snap @@ -25,12 +25,6 @@ band6124e80f3f5fc839830c1f6b "errors": [ { "message": "The provided value for filter `in` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 2, - "column": 35 - } - ], "path": [ "root" ], @@ -53,12 +47,6 @@ nullAnd6124e80f3f5fc839830c1f6b "errors": [ { "message": "The provided value for filter `in` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 2, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThanOrEquals_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThanOrEquals_Expression.snap index 77fe3ab8e0c..3f3e52b8a65 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `lte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThan_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThan_Expression.snap index c42247eaaeb..dff22a83d55 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThan_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdLowerThan_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `lt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotEqual_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotEqual_Expression.snap index 97056f91d1e..b2b47747557 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotEqual_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotEqual_Expression.snap @@ -46,12 +46,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThanOrEquals_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThanOrEquals_Expression.snap index 23fc2d5722c..c16ffbefdcd 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThanOrEquals_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `ngte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThan_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThan_Expression.snap index c6f0601c816..be95ab5c58c 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThan_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotGreaterThan_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `ngt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotIn_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotIn_Expression.snap index 1400647e922..2fc60e19d7e 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotIn_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotIn_Expression.snap @@ -22,12 +22,6 @@ band6124e80f3f5fc839830c1f6b "errors": [ { "message": "The provided value for filter `nin` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], @@ -50,12 +44,6 @@ nullAnd6124e80f3f5fc839830c1f6b "errors": [ { "message": "The provided value for filter `nin` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 2, - "column": 36 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThanOrEquals_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThanOrEquals_Expression.snap index eca158a25ac..2a3a44886a3 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThanOrEquals_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `nlte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThan_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThan_Expression.snap index eb8901a3e62..0d5b91d4cf7 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThan_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNotLowerThan_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `nlt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThanOrEquals_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThanOrEquals_Expression.snap index f8b7ccb0cae..f5e8345734c 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `gte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThan_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThan_Expression.snap index 4680a3a0295..cbbbd7d6945 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThan_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableGreaterThan_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `gt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThanOrEquals_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThanOrEquals_Expression.snap index f83ee701c0b..758fb88ca7a 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `lte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThan_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThan_Expression.snap index 63462078484..05a93f69567 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThan_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableLowerThan_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `lt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThanOrEquals_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThanOrEquals_Expression.snap index 9ef0540b561..4880a5de8b4 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `ngte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThan_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThan_Expression.snap index 1e86c80379e..e8f129dd8b6 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThan_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotGreaterThan_Expression.snap @@ -76,12 +76,6 @@ null "errors": [ { "message": "The provided value for filter `ngt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThanOrEquals_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThanOrEquals_Expression.snap index e2baf77f7ef..5bca08f753f 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `nlte` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThan_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThan_Expression.snap index 8d0eb73f8b9..f9eda4063ec 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThan_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectIdTests.Create_ObjectIdNullableNotLowerThan_Expression.snap @@ -76,12 +76,6 @@ null "errors": [ { "message": "The provided value for filter `nlt` of type ObjectIdOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap index 9c00351babe..4b1f903d3af 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap @@ -61,12 +61,6 @@ null "errors": [ { "message": "The provided value for filter `any` of type ListBarFilterTypeFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 44 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap index 53c272cc366..c1e4e8ac676 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap @@ -56,12 +56,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 70 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap index e3ab6294bda..2c8a52ba299 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap @@ -44,12 +44,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type BarEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap index 8ad817cda91..3e7ea4ac5ab 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap @@ -44,12 +44,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap index eff21d0ce65..455a1d8ed82 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap @@ -54,12 +54,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap index 03d8d6ea751..8dc41c7ddb9 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap @@ -44,12 +44,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap index da34dcb0d3e..ce1e1e845be 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap @@ -29,12 +29,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringContains_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringContains_Expression.snap index b970c289968..4bea84ca766 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringContains_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringContains_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap index 50a8970cefc..a5ebaa4a7bf 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap index fbe322c91e6..3df12839242 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap @@ -46,12 +46,6 @@ null "errors": [ { "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap index 8530ebf4732..39ce7233d13 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap @@ -46,12 +46,6 @@ null "errors": [ { "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap index d94dc0d63ee..71c51277a50 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap @@ -46,12 +46,6 @@ null "errors": [ { "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap index e3065608b4e..8039789f141 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringContains_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringContains_Expression.snap index b970c289968..4bea84ca766 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringContains_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringContains_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEndsWith_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEndsWith_Expression.snap index 50a8970cefc..a5ebaa4a7bf 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEndsWith_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEndsWith_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEqual_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEqual_Expression.snap index 9204c6f7cfa..34050df898b 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEqual_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringEqual_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringIn_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringIn_Expression.snap index d64528453df..86a7b52e705 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringIn_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringIn_Expression.snap @@ -25,12 +25,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNoContains_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNoContains_Expression.snap index 0fe3a7a01fe..8ad499e06fa 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNoContains_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNoContains_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap index c8a138b9a9b..8b4a90850a7 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEqual_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEqual_Expression.snap index 487d8c434ac..dbb368e7b8c 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEqual_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotEqual_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotIn_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotIn_Expression.snap index 9081fca6c04..9414b2149b0 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotIn_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotIn_Expression.snap @@ -18,12 +18,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `nin` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap index b0350061361..d26c18f5a21 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringStartsWith_Expression.snap b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringStartsWith_Expression.snap index e3065608b4e..8039789f141 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringStartsWith_Expression.snap +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorStringTests.Create_StringStartsWith_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/src/Data/ErrorHelper.cs b/src/HotChocolate/Raven/src/Data/ErrorHelper.cs index 6fc2988568c..cfd8abc75b0 100644 --- a/src/HotChocolate/Raven/src/Data/ErrorHelper.cs +++ b/src/HotChocolate/Raven/src/Data/ErrorHelper.cs @@ -1,5 +1,4 @@ using HotChocolate.Data.Sorting; -using HotChocolate.Language; using HotChocolate.Types; namespace HotChocolate.Data.Raven; @@ -8,7 +7,6 @@ internal static class ErrorHelper { public static IError CreateNonNullError( ISortField field, - IValueNode value, ISortVisitorContext context) { var sortType = context.Types.OfType().First(); @@ -18,7 +16,6 @@ public static IError CreateNonNullError( RavenDataResources.ErrorHelper_CreateNonNullError, context.Fields.Peek().Name, sortType.Print()) - .AddLocation(value) .SetCode(ErrorCodes.Data.NonNullError) .SetExtension("expectedType", new NonNullType(field.Type).Print()) .SetExtension("sortType", sortType.Print()) diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap index c2d4b0718b3..242f5f61eda 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortEqual_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap index 0b4529e8242..67cdc8a4764 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap index 9b66dd798d9..ecc1a168bf5 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortGreaterThan_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap index 89eba8d8cc0..e0fb3ccc2ea 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortIn_Expression.snap @@ -46,12 +46,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap index 5f7080c14ad..5ca73851a7b 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap index 8f55ec6ca18..b0af620c95d 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortLowerThan_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap index 44cec582d59..66ce8da2908 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotEqual_Expression.snap @@ -46,12 +46,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap index a85df04835f..677aad7ba15 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThanOrEquals_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap index 6853257ff60..3fba6156dc2 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotGreaterThan_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap index f5a6d76e343..73f754fe189 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotIn_Expression.snap @@ -40,12 +40,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `nin` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap index b32a22120a8..d75429a8987 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThanOrEquals_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap index 3b5eef3a052..6c59bdf8783 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNotLowerThan_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap index 3f9d1161e05..de51e05b496 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `gte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap index b281adff366..33c1dc65ed2 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableGreaterThan_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `gt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap index 360c41f8500..f4663fdf94b 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `lte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap index be271aca885..6d2356e1cc2 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableLowerThan_Expression.snap @@ -57,12 +57,6 @@ null "errors": [ { "message": "The provided value for filter `lt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap index c5744a0d5a9..dab38055530 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `ngte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap index ebe17ed7835..3c82ce7aba9 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotGreaterThan_Expression.snap @@ -76,12 +76,6 @@ null "errors": [ { "message": "The provided value for filter `ngt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap index ea2c73d0a9b..184c1acaca9 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThanOrEquals_Expression.snap @@ -67,12 +67,6 @@ null "errors": [ { "message": "The provided value for filter `nlte` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap index e4ae11dbcf1..49f59540a81 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorComparableTests.Create_ShortNullableNotLowerThan_Expression.snap @@ -76,12 +76,6 @@ null "errors": [ { "message": "The provided value for filter `nlt` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap index c2f24d2e963..32874529292 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumEqual_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 32 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap index b819f6c682a..224fcdd1942 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorEnumTests.Create_EnumNotEqual_Expression.snap @@ -52,12 +52,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type FooEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 33 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap index 926279545d5..bb39aedeb5e 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorInterfacesTests.Create_InterfaceStringEqual_Expression.snap @@ -44,12 +44,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap index eabcc70fd40..bcb487c536d 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArrayAnyStringEqual_Expression.snap @@ -60,12 +60,6 @@ null "errors": [ { "message": "The provided value for filter `any` of type ListFilterInputTypeOfBarFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 44 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap index 34c6422f501..75635143b2d 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ArrayObjectNestedArraySomeStringEqual_Expression.snap @@ -56,12 +56,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 70 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap index 21402860cf4..2a2e4e29daf 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectEnumEqual_Expression.snap @@ -44,12 +44,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type BarEnumOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 39 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap index 552ba1f804c..8810e42b582 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortEqual_Expression.snap @@ -44,12 +44,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap index e8a0939b842..a8bea40b6c1 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectShortIn_Expression.snap @@ -54,12 +54,6 @@ nullAnd14 "errors": [ { "message": "The provided value for filter `in` of type ShortOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 40 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap index cd8a5751b01..3d493ceb5a1 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringEqual_Expression.snap @@ -44,12 +44,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap index a676e6ca91c..ed2ba6a5a82 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorObjectTests.Create_ObjectStringIn_Expression.snap @@ -29,12 +29,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 41 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap index 0608d1df80c..591d186ec47 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringContains_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap index 672d05a9409..d97ea479113 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringEndsWith_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap index cb7c89cbc48..a1ba172007b 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNoContains_Expression.snap @@ -46,12 +46,6 @@ null "errors": [ { "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap index 273ba88aa41..b4e66975765 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotEndsWith_Expression.snap @@ -46,12 +46,6 @@ null "errors": [ { "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap index 0314246cf5b..f257c32a1c2 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringNotStartsWith_Expression.snap @@ -46,12 +46,6 @@ null "errors": [ { "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap index be3b45acbd2..7c7734ffe09 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_NullableStringStartsWith_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap index 778ddd54e6f..1c718129edf 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringContains_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `contains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap index 4f41e841d03..b816ecdaf8a 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEndsWith_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `endsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 34 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap index dbfdbab537a..5d6d5dc5716 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringEqual_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `eq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap index 90a32ad6b0c..937b5e0d109 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringIn_Expression.snap @@ -25,12 +25,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `in` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 28 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap index 6e466cc6135..c524cf580e6 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNoContains_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `ncontains` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap index d0a4ce19d7d..aaefc66e587 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEndsWith_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `nendsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 35 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap index ea348a3737d..407ebede983 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotEqual_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `neq` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap index 7b403d34fff..0a0a32d0343 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotIn_Expression.snap @@ -18,12 +18,6 @@ testbtestAndNull "errors": [ { "message": "The provided value for filter `nin` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 29 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap index 269291daadb..f5af541f7c5 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringNotStartsWith_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `nstartsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 37 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap index 70cc72b3f05..b338bcc7ef0 100644 --- a/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap +++ b/src/HotChocolate/Raven/test/Data.Raven.Filters.Tests/__snapshots__/QueryableFilterVisitorStringTests.Create_StringStartsWith_Expression.snap @@ -40,12 +40,6 @@ null "errors": [ { "message": "The provided value for filter `startsWith` of type StringOperationFilterInput is invalid. Null values are not supported.", - "locations": [ - { - "line": 1, - "column": 36 - } - ], "path": [ "root" ], diff --git a/src/HotChocolate/Spatial/src/Data/ErrorHelper.cs b/src/HotChocolate/Spatial/src/Data/ErrorHelper.cs index b144c616342..fcc460ad6a5 100644 --- a/src/HotChocolate/Spatial/src/Data/ErrorHelper.cs +++ b/src/HotChocolate/Spatial/src/Data/ErrorHelper.cs @@ -1,6 +1,5 @@ using HotChocolate.Data.Filters; using HotChocolate.Data.Sorting; -using HotChocolate.Language; using HotChocolate.Types; namespace HotChocolate.Data; @@ -9,7 +8,6 @@ internal static class ErrorHelper { public static IError CreateNonNullError( IFilterField field, - IValueNode value, IFilterVisitorContext context) { var filterType = context.Types.OfType().First(); @@ -19,7 +17,6 @@ public static IError CreateNonNullError( DataResources.ErrorHelper_CreateNonNullError, context.Operations.Peek().Name, filterType.Print()) - .AddLocation(value) .SetExtension("expectedType", new NonNullType(field.Type).Print()) .SetExtension("filterType", filterType.Print()) .Build(); @@ -27,7 +24,6 @@ public static IError CreateNonNullError( public static IError CouldNotCreateFilterForOperation( IFilterField field, - IValueNode value, IFilterVisitorContext context) { var filterType = context.Types.OfType().First(); @@ -37,7 +33,6 @@ public static IError CouldNotCreateFilterForOperation( DataResources.CouldNotCreateFilterForOperation, context.Operations.Peek().Name, filterType.Print()) - .AddLocation(value) .SetExtension("expectedType", new NonNullType(field.Type).Print()) .SetExtension("filterType", filterType.Print()) .Build(); @@ -45,7 +40,6 @@ public static IError CouldNotCreateFilterForOperation( public static IError CreateNonNullError( ISortField field, - IValueNode value, ISortVisitorContext context) { var sortType = context.Types.OfType().First(); @@ -55,7 +49,6 @@ public static IError CreateNonNullError( DataResources.ErrorHelper_CreateNonNullError, context.Fields.Peek().Name, sortType.Print()) - .AddLocation(value) .SetExtension("expectedType", new NonNullType(field.Type).Print()) .SetExtension("sortType", sortType.Print()) .Build(); diff --git a/src/HotChocolate/Spatial/src/Data/Filters/Expressions/Handlers/QueryableSpatialBooleanMethodHandler.cs b/src/HotChocolate/Spatial/src/Data/Filters/Expressions/Handlers/QueryableSpatialBooleanMethodHandler.cs index c98d41a1205..15a91a10c09 100644 --- a/src/HotChocolate/Spatial/src/Data/Filters/Expressions/Handlers/QueryableSpatialBooleanMethodHandler.cs +++ b/src/HotChocolate/Spatial/src/Data/Filters/Expressions/Handlers/QueryableSpatialBooleanMethodHandler.cs @@ -56,7 +56,7 @@ public override bool TryHandleEnter( if (node.Value.IsNull()) { context.ReportError( - ErrorHelper.CreateNonNullError(field, node.Value, context)); + ErrorHelper.CreateNonNullError(field, context)); action = SyntaxVisitor.Skip; return true; } @@ -68,7 +68,7 @@ public override bool TryHandleEnter( out var nestedProperty)) { context.ReportError( - ErrorHelper.CouldNotCreateFilterForOperation(field, node.Value, context)); + ErrorHelper.CouldNotCreateFilterForOperation(field, context)); action = SyntaxVisitor.Skip; return true; } diff --git a/src/HotChocolate/Spatial/src/Data/Filters/Expressions/Handlers/QueryableSpatialMethodHandler.cs b/src/HotChocolate/Spatial/src/Data/Filters/Expressions/Handlers/QueryableSpatialMethodHandler.cs index 0aef0a956ae..b981df84825 100644 --- a/src/HotChocolate/Spatial/src/Data/Filters/Expressions/Handlers/QueryableSpatialMethodHandler.cs +++ b/src/HotChocolate/Spatial/src/Data/Filters/Expressions/Handlers/QueryableSpatialMethodHandler.cs @@ -54,7 +54,7 @@ public override bool TryHandleEnter( if (node.Value.IsNull()) { context.ReportError( - ErrorHelper.CreateNonNullError(field, node.Value, context)); + ErrorHelper.CreateNonNullError(field, context)); action = SyntaxVisitor.Skip; return true; } @@ -66,7 +66,7 @@ public override bool TryHandleEnter( out var nestedProperty)) { context.ReportError( - ErrorHelper.CouldNotCreateFilterForOperation(field, node.Value, context)); + ErrorHelper.CouldNotCreateFilterForOperation(field, context)); action = SyntaxVisitor.Skip; return true; }