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
To setup a graphql gateway using federation with Redis and this was working fine before dotnet aspire preview 4.
What is actually happening?
The other services work fine except for the gateway service when using AddRemoteSchemasFromRedis for schema stitching.
Relevant log output
Unhandled exception. System.InvalidOperationException: This service descriptor is keyed. Your service provider may not support keyed services.
at Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ThrowKeyedDescriptor()
at Microsoft.Extensions.DependencyInjection.ServiceDescriptor.get_ImplementationType()
at Microsoft.Extensions.DependencyInjection.HotChocolateStitchingRedisRequestExecutorBuilderExtensions.<>c.<AddRemoteSchemasFromRedis>b__0_2(ServiceDescriptor t)
at System.Linq.Enumerable.All[TSource](IEnumerable`1 source, Func`2 predicate)
at Microsoft.Extensions.DependencyInjection.HotChocolateStitchingRedisRequestExecutorBuilderExtensions.AddRemoteSchemasFromRedis(IRequestExecutorBuilder builder, String configurationName, Func`2 connectionFactory) at Program.<Main>$(String[] args)in D:\sandbox\hotchocolate-aspire\hotchocolate-aspire.ApiGateway\Program.cs:line 16
Additional context
Alsoo tried with version 13.5.0 and above except 14.0.0 since no version is available for HotChocolate.Stitching.Redis
The text was updated successfully, but these errors were encountered:
Product
Hot Chocolate
Version
13.9.0
Link to minimal reproduction
https://github.com/gpproton/hotchocolate-aspire
Environment:
windows 11
vscode
.NET 8.0 Aspire
webapi
redis
Steps to reproduce
Added the line below after setting up dependent services.
What is expected?
To setup a graphql gateway using federation with Redis and this was working fine before dotnet aspire preview 4.
What is actually happening?
The other services work fine except for the gateway service when using
AddRemoteSchemasFromRedis
for schema stitching.Relevant log output
Additional context
Alsoo tried with version 13.5.0 and above except 14.0.0 since no version is available for HotChocolate.Stitching.Redis
The text was updated successfully, but these errors were encountered: