spring-hateoas icon indicating copy to clipboard operation
spring-hateoas copied to clipboard

Disable readOnly attribute for HAL-FORMS

Open andy-ta opened this issue 6 years ago • 0 comments

Currently, I am using 1.1.0. Referring to this, the readOnly attribute on a HAL-FORMS field always shows up when there are no setters. It would be nice to have the option to remove it or not have it at all by default when there are no setters.

The situation that I am currently in is that my POJO only uses builders to modify fields, not setters. Therefore, it is technically mutable, just not with setters. Thus, the readOnly attribute does not apply, and yet, since the attribute always displays when there are no setters, it would be nice to have a way to remove it.

andy-ta avatar Jun 19 '20 22:06 andy-ta