-
-
Notifications
You must be signed in to change notification settings - Fork 786
Description
Product
Hot Chocolate
Version
15.1.7
Link to minimal reproduction
Steps to reproduce
Similar to #8374
What is expected?
Similar to #8374
What is actually happening?
Similar to #8374
Relevant log output
Additional context
The source generated registration code in HotChocolateTypeModule calls RequestExecutorBuilderExtensions
in HotChocolate Core, rather than the GreenDonut ones which where fixed in #8374
https://github.com/ChilliCream/graphql-platform/blob/main/src/HotChocolate/Core/src/Execution/DependencyInjection/RequestExecutorBuilderExtensions.DataLoader.cs#L26 and https://github.com/ChilliCream/graphql-platform/blob/main/src/HotChocolate/Core/src/Execution/DependencyInjection/RequestExecutorBuilderExtensions.DataLoader.cs#L48 which means the interface type isn't registered as resolving to the implementation, which then fails when being resolved through the AdHoc registration in https://github.com/ChilliCream/graphql-platform/blob/main/src/GreenDonut/src/GreenDonut/DependencyInjection/DataLoaderServiceCollectionExtensions.cs#L202-L202