Hotchocolate: Assembly Issue

Created on 30 Nov 2020  ·  13Comments  ·  Source: ChilliCream/hotchocolate

  1. Could not load type 'HotChocolate.Types.IInputType' from assembly 'HotChocolate.Types, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null'. (RootQUery), 




     at HotChocolate.Configuration.TypeInitializer.Initialize(Func`1 schemaResolver, IReadOnlySchemaOptions options)
     at HotChocolate.SchemaBuilder.Setup.InitializeTypes(SchemaBuilder builder, DescriptorContext context, IBindingLookup bindingLookup, IReadOnlyList`1 types, LazySchema lazySchema)
     at HotChocolate.SchemaBuilder.Setup.Create(SchemaBuilder builder)
     at HotChocolate.SchemaBuilder.Create()
     at HotChocolate.SchemaBuilder.HotChocolate.ISchemaBuilder.Create()
     at HotChocolate.Execution.RequestExecutorResolver.CreateSchemaAsync(NameString schemaName, RequestExecutorSetup options, IServiceProvider serviceProvider, CancellationToken cancellationToken)
     at HotChocolate.Execution.RequestExecutorResolver.CreateSchemaServicesAsync(NameString schemaName, RequestExecutorSetup options, CancellationToken cancellationToken)
     at HotChocolate.Execution.RequestExecutorResolver.GetRequestExecutorNoLockAsync(NameString schemaName, CancellationToken cancellationToken)
     at HotChocolate.Execution.RequestExecutorResolver.GetRequestExecutorAsync(NameString schemaName, CancellationToken cancellationToken)
     at HotChocolate.Execution.RequestExecutorProxy.GetRequestExecutorAsync(CancellationToken cancellationToken)
     at HotChocolate.AspNetCore.HttpPostMiddleware.HandleRequestAsync(HttpContext context, AllowedContentType contentType)
     at HotChocolate.AspNetCore.HttpPostMiddleware.InvokeAsync(HttpContext context)
     at HotChocolate.AspNetCore.WebSocketSubscriptionMiddleware.InvokeAsync(HttpContext context)
     at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
     at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
     at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
     at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context)
     at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context)
     at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
❓ question 🌶 hot chocolate

All 13 comments

make sure all versions of HotChocolate.xx.xx and StrawBerryShake.xx.xx are aligned

I have not used any StrawBerryShake.

how does you csproj look like?

Guy's I have solved the problem, The problem was I was using Hotchocolate.Types.Selection but it was 10.5.5 and it don't work on hotchocolate 11 now the question is how can I use the selection middlware.

thanks to @PascalSenn for giving me a hint.

Is it the issue that it is not working with hothocolate 11??? because no release for selections.

Can this be closed?

use projection is also not working guys.

{
"message": "Server Not Reachable",
"name": "ServerNetworkError",
"statusText": "Failed to fetch"
}

should I fallback @michaelstaib to 10.5.5 because there are so many bugs. in 11.

error message pipeline is also not working.

What bugs are you talking about? If you know of any please specify them. So far we have very few issues. Far less than we track at the moment on 10.5.5

okay maybe it's my machine problem you can close it.

We also have a slack channel where you can sort things out. Look at the readme for the link.

This issue's conversation has been locked. Please file a new issue if you would like to continue the discussion.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sergeyshaykhullin picture sergeyshaykhullin  ·  3Comments

nigel-sampson picture nigel-sampson  ·  5Comments

sascha-andres picture sascha-andres  ·  4Comments

mortzi picture mortzi  ·  4Comments

benmccallum picture benmccallum  ·  5Comments