spring-hateoas
spring-hateoas copied to clipboard
Disable readOnly attribute for HAL-FORMS
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.