Currently the system uses the Java 11 language level. Moving to Java 19 will enable us to use some helpful constructs. In particular, moving message classes to be Records when possible would be cool.
One issue will be that Records can neither extend nor be extended. There are some existing messages that have a hierarchy. There is no benefit to redoing those. However, when message are simple DTOs they should be updated.
Currently the system uses the Java 11 language level. Moving to Java 19 will enable us to use some helpful constructs. In particular, moving message classes to be Records when possible would be cool.
One issue will be that Records can neither extend nor be extended. There are some existing messages that have a hierarchy. There is no benefit to redoing those. However, when message are simple DTOs they should be updated.