From d9978d572f9752c997c95619987754dd4a67f134 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Thu, 26 Sep 2024 19:49:09 +0200 Subject: [PATCH] Add binary strings --- .../it/cavallium/datagen/plugin/ComputedTypeArrayNative.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datagen-plugin/src/main/java/it/cavallium/datagen/plugin/ComputedTypeArrayNative.java b/datagen-plugin/src/main/java/it/cavallium/datagen/plugin/ComputedTypeArrayNative.java index 724ad68..96193c9 100644 --- a/datagen-plugin/src/main/java/it/cavallium/datagen/plugin/ComputedTypeArrayNative.java +++ b/datagen-plugin/src/main/java/it/cavallium/datagen/plugin/ComputedTypeArrayNative.java @@ -113,7 +113,7 @@ public final class ComputedTypeArrayNative implements ComputedTypeArray { @Override public FieldLocation getJSerializerInstance(String basePackageName) { if (baseType.equals("String") && binaryStrings) { - return new FieldLocation(ClassName.get(Serializers.class), "NullableBinaryStringSerializerInstance"); + return new FieldLocation(ClassName.get(Serializers.class), "ArrayBinaryStringSerializerInstance"); } else { var className = ClassName.get(Serializers.class); var serializerFieldName = "Array" + baseType + "SerializerInstance";