Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not load type 'HotChocolate.Utilities.NameUtils' from assembly 'HotChocolate.Abstractions, Version=14.3.0.0, Culture=neutral, PublicKeyToken=null' #7990

Closed
Haeavar opened this issue Feb 4, 2025 · 1 comment

Comments

@Haeavar
Copy link

Haeavar commented Feb 4, 2025

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

@michaelstaib
Copy link
Member

michaelstaib commented Feb 4, 2025

Stitching is end of life ... the replacement for stitching is HotChocolate.Fusion.
https://chillicream.com/docs/fusion/v14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants