From 6898163030ea98f17a267db3f7577a37e54a4147 Mon Sep 17 00:00:00 2001 From: David Driscoll Date: Mon, 4 Jul 2022 21:36:18 -0400 Subject: [PATCH] Fixed nodatime types for nullable structs with hot chocolate --- .../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>() ) );