You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could not load type 'HotChocolate.Utilities.NameUtils' from assembly 'HotChocolate.Abstractions, Version=14.3.0.0, Culture=neutral, PublicKeyToken=null'
#7990
Create a new ASP.NET Core Web Api and add following lines to the Program.cs var graphQlBuilder = builder.Services .AddGraphQLServer() .DisableIntrospection(false); graphQlBuilder.AddRemoteSchema("schemaName", true);
And add these two nuget packages: <PackageReference Include="HotChocolate.AspNetCore" Version="14.3.0" /> <PackageReference Include="HotChocolate.Stitching" Version="13.9.14" />
Start the App.
What is expected?
I would expect no exception. With Version 13 it worked without any issues.
What is actually happening?
Following exception on line 14 (graphQlBuilder.AddRemoteSchema("schemaName", true);) is thrown System.TypeLoadException: 'Could not load type 'HotChocolate.Utilities.NameUtils' from assembly 'HotChocolate.Abstractions, Version=14.3.0.0, Culture=neutral, PublicKeyToken=null'.'
Relevant log output
Additional context
The issue was introduced with version 14.0.0 and works with 13.9.14
The text was updated successfully, but these errors were encountered:
Product
Hot Chocolate
Version
14.3
Link to minimal reproduction
https://github.com/Haeavar/Tests/blob/main/WebApplication1/Program.cs
Steps to reproduce
Create a new ASP.NET Core Web Api and add following lines to the Program.cs
var graphQlBuilder = builder.Services .AddGraphQLServer() .DisableIntrospection(false); graphQlBuilder.AddRemoteSchema("schemaName", true);
And add these two nuget packages:
<PackageReference Include="HotChocolate.AspNetCore" Version="14.3.0" /> <PackageReference Include="HotChocolate.Stitching" Version="13.9.14" />
Start the App.
What is expected?
I would expect no exception. With Version 13 it worked without any issues.
What is actually happening?
Following exception on line 14 (graphQlBuilder.AddRemoteSchema("schemaName", true);) is thrown
System.TypeLoadException: 'Could not load type 'HotChocolate.Utilities.NameUtils' from assembly 'HotChocolate.Abstractions, Version=14.3.0.0, Culture=neutral, PublicKeyToken=null'.'
Relevant log output
Additional context
The issue was introduced with version 14.0.0 and works with 13.9.14
The text was updated successfully, but these errors were encountered: