From 67a9fbb1739f8ea98e8c46ee4408541e11ac5352 Mon Sep 17 00:00:00 2001 From: David Driscoll Date: Mon, 4 Jul 2022 21:49:04 -0400 Subject: [PATCH] Fixed nodatime types for nullable structs with hot chocolate (#1190) --- .../Extensions/ISchemaBuilderExtensions.cs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/HotChocolate/Extensions/ISchemaBuilderExtensions.cs b/src/HotChocolate/Extensions/ISchemaBuilderExtensions.cs index 579fff362..a72e912c7 100644 --- a/src/HotChocolate/Extensions/ISchemaBuilderExtensions.cs +++ b/src/HotChocolate/Extensions/ISchemaBuilderExtensions.cs @@ -24,20 +24,30 @@ public static ISchemaBuilder AddNodaTime(this ISchemaBuilder schemaBuilder) .AddConvention( new FilterConventionExtension( descriptor => descriptor - .BindRuntimeType>() .BindRuntimeType>() .BindRuntimeType>() + .BindRuntimeType>() .BindRuntimeType>() + .BindRuntimeType>() .BindRuntimeType>() + .BindRuntimeType>() .BindRuntimeType>() + .BindRuntimeType>() .BindRuntimeType>() + .BindRuntimeType>() .BindRuntimeType>() + .BindRuntimeType>() .BindRuntimeType>() + .BindRuntimeType>() .BindRuntimeType>() + .BindRuntimeType>() .BindRuntimeType>() + .BindRuntimeType>() .BindRuntimeType>() + .BindRuntimeType>() .BindRuntimeType>() .BindRuntimeType>() + .BindRuntimeType>() ) );