pefernan opened a new issue, #2041:
URL: https://github.com/apache/incubator-kie-issues/issues/2041
When generating marshallers for Java pojo classes, there is hardcoded
handling of a Boolean typed field (1), which generates calls for the pojo
getter method as "is" + field name. However some users use getters for Boolean
typed fields in a form of "get" + field name. This means the behaviour should
be configurable by the user.
A new application property should be added with appropriate name, e.g.
`kogito.codegen.booleanAccessorPrefix` or similar (aligned to existing property
names), with default value set to the current behaviour ("is" prefix). The
value should be "is" or "get" .
(1)
https://github.com/apache/incubator-kie-kogito-runtimes/blob/d806897a45f8c0cdd2d73218d6e92f574fbf753d/kogito-codegen-modules/kogito-codegen-processes/src/main/java/org/kie/kogito/codegen/process/persistence/marshaller/AbstractMarshallerGenerator.java#L187
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]