building-envelope-data / database

Reference implementation of a product data server as part of the product data network buildingenvelopedata.org
MIT License
0 stars 0 forks source link

Use Hot Chocolate type auto registration #40

Open simon-wacker opened 1 year ago

simon-wacker commented 1 year ago

See https://chillicream.com/blog/2023/02/08/new-in-hot-chocolate-13#type-auto-registration

I tried it just now and it failed with the error that calling AddTypes is ambiguous. So, let's wait and see.

/home/me/app/src/Configuration/GraphQlConfiguration.cs(28,20): error CS0121: The call is ambiguous between the following methods or properties: 'SchemaRequestExecutorBuilderExtensions.AddTypes(IRequestExecutorBuilder, params Type[])' and 'SchemaRequestExecutorBuilderExtensions.AddTypes(IRequestExecutorBuilder, params INamedType[])' [/home/me/app/src/Database.csproj]