apollographql / federation-hotchocolate

HotChocolate support for Apollo Federation
https://www.apollographql.com/docs/federation/
MIT License
16 stars 8 forks source link

HotChocolate v13.7.0+ support #51

Open dariuszkuc opened 1 year ago

dariuszkuc commented 1 year ago

Due to a breaking change to the public API, we cannot support newer versions of HotChocolate until their replacement API (currently work in progress) is complete.

cli00004 commented 11 months ago

Right, noticed we are getting this exception after upgrading to Hotchocolate 13.7, hopefully a fix will come out soon, thanks

System.TypeLoadException: Method 'OnBeforeCreateSchema' on type 'ApolloGraphQL.HotChocolate.Federation.FederationTypeInterceptor' from assembly 'ApolloGraphQL.HotChocolate.Federation, Version=1.3.0.0, Culture=neutral, Publi cKeyToken=null' is overriding a method that is not visible from that assembly. at HotChocolate.ApolloFederationSchemaBuilderExtensionsV2.AddApolloFederationV2Definitions(ISchemaBuilder builder, FederationVersion version) at HotChocolate.ApolloFederationSchemaBuilderExtensionsV2.AddApolloFederationV2(ISchemaBuilder builder, FederatedSchema schema) at Microsoft.Extensions.DependencyInjection.ApolloFederationRequestExecutorBuilderExtensionsV2.<>cDisplayClass1_0.b0(ISchemaBuilder s) at Microsoft.Extensions.DependencyInjection.RequestExecutorBuilderExtensions.<>cDisplayClass0_0.b1(ConfigurationContext ctx, IServiceProvider _) at HotChocolate.Execution.RequestExecutorResolver.OnConfigureSchemaBuilderAsync(ConfigurationContext context, IServiceProvider schemaServices, RequestExecutorSetup setup, CancellationToken cancellationToken) at HotChocolate.Execution.RequestExecutorResolver.CreateSchemaAsync(ConfigurationContext context, RequestExecutorSetup setup, RequestExecutorOptions executorOptions, IServiceProvider schemaServices, TypeModuleChangeMonit or typeModuleChangeMonitor, CancellationToken cancellationToken)