Today, while trying to generate a Pact DSL from domain model classes, I noticed the NotAJavaBean exception which was raised due to Java 17 Record classes. As you might know, Records only include getters without the get, no setters as they are immutable. However, as this is a major, new Java data type, it would make sense to support records as well.
Is there a way, to get the generator working with records? If not, I would like to ask you to add this as a feature request.
Today, while trying to generate a Pact DSL from domain model classes, I noticed the NotAJavaBean exception which was raised due to Java 17 Record classes. As you might know, Records only include getters without the
get
, no setters as they are immutable. However, as this is a major, new Java data type, it would make sense to support records as well.Is there a way, to get the generator working with records? If not, I would like to ask you to add this as a feature request.
Cheers, Paul