diff --git a/src/GraphQL.Conventions/CommonAssemblyInfo.cs b/src/GraphQL.Conventions/CommonAssemblyInfo.cs index d8484050..463a1971 100644 --- a/src/GraphQL.Conventions/CommonAssemblyInfo.cs +++ b/src/GraphQL.Conventions/CommonAssemblyInfo.cs @@ -7,9 +7,9 @@ [assembly: AssemblyProduct("GraphQL.Conventions")] [assembly: AssemblyCopyright("Copyright 2016-2017 Tommy Lillehagen. All rights reserved.")] [assembly: AssemblyTrademark("")] -[assembly: AssemblyVersion("1.1.9.0")] -[assembly: AssemblyFileVersion("1.1.9.0")] -[assembly: AssemblyInformationalVersion("1.1.9.0")] +[assembly: AssemblyVersion("1.1.10.0")] +[assembly: AssemblyFileVersion("1.1.10.0")] +[assembly: AssemblyInformationalVersion("1.1.10.0")] [assembly: CLSCompliant(false)] [assembly: InternalsVisibleTo("GraphQL.Conventions.Tests")] diff --git a/src/GraphQL.Conventions/Web/RequestHandler.cs b/src/GraphQL.Conventions/Web/RequestHandler.cs index 976f2f82..f524fed6 100644 --- a/src/GraphQL.Conventions/Web/RequestHandler.cs +++ b/src/GraphQL.Conventions/Web/RequestHandler.cs @@ -152,7 +152,7 @@ public async Task ProcessRequest(Request request, IUserContext userCon var validationWarnings = new List(); if (!_useValidation && _outputViolationsAsWarnings) { - var validationResult = Validate(request); + var validationResult = Validate(request)?.ValidationResult; if (validationResult?.Errors?.Any() ?? false) { validationWarnings.AddRange(validationResult.Errors); diff --git a/src/GraphQL.Conventions/project.json b/src/GraphQL.Conventions/project.json index bd9b1d6f..d4f9c08b 100755 --- a/src/GraphQL.Conventions/project.json +++ b/src/GraphQL.Conventions/project.json @@ -1,5 +1,5 @@ { - "version": "1.1.9-*", + "version": "1.1.10-*", "description": "GraphQL Conventions for .NET", "authors": [ "Tommy Lillehagen"