codeconsole commented on PR #16237: URL: https://github.com/apache/grails-core/pull/16237#issuecomment-6222054442
@matrei @jdaugherty One more change after #16414 merged (`711bbfe05f`): domain classes are now written by Jackson's own bean serializer, shaped by a serializer modifier, instead of the hand-written `DomainClassSerializer`. `respond`, the Boot mapper with `domain.jackson.enabled` and `grails.converters.JSON` with `legacy: false` share it, so `@JsonInclude`, `@JsonView`, `@JsonFormat`, mix-ins, filters and `@JsonPropertyOrder` apply to domain properties too. With `legacy: false` the converter now follows Jackson for domain classes, including names from `@JsonProperty` and properties named by `@JsonIgnoreProperties`; the upgrade guide lists the changes. The hibernate5 example's `JsonMapperConverterSpec` passes. -- 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]
