Open ZouhairBear opened 1 year ago
This will not work because Vert.x has no way to know if the list object was templated.
If your objects are all annotated with Jackson databind annotations, you could use a default codec selector: https://vertx.io/blog/whats-new-in-vert-x-4-3/#dynamic-codec-lookup
Context
I have used this exemple CustomMessageCodec to make a codec for a simple object. It works for a simple object so I wanted to use for a list of objects. This didn't work.
Exemple of used Codec class
Extra