Polymorphic DTO using Java Record with Jackson
With the introduction of Java Record class, it becomes the perfect candidate to use as a Data Transfer Object (DTO). I'm not going to explain more, you can find tons of articles out there with its benefit and code samples. However, what is missing ou...
