Skip to content

VelocyJack deserialization not always called #13

Closed
@rocketraman

Description

@rocketraman

I have configured VelocyJack deserialization as per the docs. I note that in some cases, this deserializer is not called. Specifically, I am testing some code that simply does:

// 1
collection.insertDocument(doc)
...
// 2
collection.getDocument(key, MyDoc::class.java, DocumentReadOptions())

and the built-in default deserializer is being called at (2), not the VelocyJack deserializer. This was driving me nuts until I attached a debugger to the system to determine that the wrong deserializer was being called at ArangoExecutor.createResult.

ArangoExecutor upon initialization always requests the INTERNAL serializer, even if a custom one is defined.

Clearly the custom serialization is a work in progress. I'm gonna switch back to the default serialization for now.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions