Skip to content

Commit

Permalink
fix struct object array field serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
chaokunyang committed Dec 25, 2024
1 parent ff0bf3c commit 9d5a0c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ private static <T> GenericType getGenericType(
ReflectionUtils.isAbstract(cls)
? new CollectionSerializer(fury, ArrayList.class)
: resolver.getSerializer(cls));
} else if (cls.isArray()) {
t.setSerializer(new ArraySerializers.ObjectArraySerializer(fury, cls));
}
return t;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@
public class CrossLanguageTest {
private static final Logger LOG = LoggerFactory.getLogger(CrossLanguageTest.class);
private static final String PYTHON_MODULE = "pyfury.tests.test_cross_language";
private static final String PYTHON_EXECUTABLE =
"/Users/chaokunyang/Desktop/ant/DeveProjects/mellow/venv/bin/python";
private static final String PYTHON_EXECUTABLE = "python";

/**
* Execute an external command.
Expand Down

0 comments on commit 9d5a0c9

Please sign in to comment.