nizhikov commented on a change in pull request #9490:
URL: https://github.com/apache/ignite/pull/9490#discussion_r756278228
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/binary/GridBinaryMarshaller.java
##########
@@ -153,6 +154,12 @@
/** Binary enum */
public static final byte BINARY_ENUM = 38;
+ /**
+ * {@link BinaryObject} interface type id.
+ * Used to store array component type in case of {@code BinaryObject[]}.
+ */
+ public static final byte BINARY_OBJ_INTERFACE = 39;
Review comment:
This tested in .Net - `ServicesTest#DoTestBinary`:
```
// Binary object array.
var binArr =
arr.Select(Grid1.GetBinary().ToBinary<IBinaryObject>).ToArray();
var binObjs = binSvc.testBinaryObjectArray(binArr);
Assert.AreEqual(new[] {11, 12, 13}, binObjs.Select(x =>
x.GetField<int>("Field")));
```
Anyway, I reworked solution to exclude this interface from the patch.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]