struberg commented on PR #142:
URL: https://github.com/apache/johnzon/pull/142#issuecomment-5114458609

   I think there is even an easier workaround which also works with older 
Johnzon versions. 
   I've just created a unit test case `JsonbRecordMethodVisibilityTest` in 
TomEE to verify my idea.
   
   Just use a custom `@JsonbVisibility` on your records class. That should do 
the trick.
   
https://github.com/apache/tomee/commit/ff3ce4597e523a4d3d10fa8478d0b2588a8ebf7f#diff-4b16127092f642da295e68f19f9ca1721b3ff57fd8a8c9ca2f8e7318fc292c05
   
   That way you can exclude the `toBuilder()` method. Can you verify if that 
works for your case?


-- 
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]

Reply via email to