From cd636530a5710112a14746cc7d0e3f15016cd5e1 Mon Sep 17 00:00:00 2001 From: Maximo Mussini Date: Fri, 23 Aug 2024 11:20:06 -0300 Subject: [PATCH] fix: be more accurate regarding decimal serialization --- types_from_serializers/lib/types_from_serializers/generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types_from_serializers/lib/types_from_serializers/generator.rb b/types_from_serializers/lib/types_from_serializers/generator.rb index e5ffea5..9984b40 100644 --- a/types_from_serializers/lib/types_from_serializers/generator.rb +++ b/types_from_serializers/lib/types_from_serializers/generator.rb @@ -383,7 +383,7 @@ def default_config(root) boolean: :boolean, date: "string | Date", datetime: "string | Date", - decimal: :number, + decimal: "string | number", integer: :number, string: :string, text: :string,