Add binary strings

This commit is contained in:
Andrea Cavalli 2024-09-26 19:49:09 +02:00
parent 26448fc1b8
commit d9978d572f

View File

@ -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";