eolivelli commented on issue #10393: URL: https://github.com/apache/pulsar/issues/10393#issuecomment-827324098
I am not sure we can do something here. We should open a ticket in Avro and in Jackson Mapper libraries. If we add too much 'magic' we could introduce some new behaviour that diverges from the downstream libraries and it will be very hard to maintain. In java parameters are set by position and not by name so there is no way we can decide which constructor to use and the order of parameters. We could say we will support Java Records, but that's another story and also it should be handled by the deserialization library as well -- 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. For queries about this service, please contact Infrastructure at: [email protected]
