Skip to content

FAIL_ON_IGNORED_PROPERTIES does not throw on READONLY properties with an explicit name #2719

@bidorffOL

Description

@bidorffOL

As mentioned in the title, FAIL_ON_IGNORED_PROPERTIES does not throw on properties annotated with @JsonProperty(value = 'XXX', access = JsonProperty.Access.READ_ONLY). I believe that it is because the implicit name of the property is added to the list of ignorals in POJOPropertiesCollector rather than the explicit names when at least one is available.

I have prepared a Pull Request for this issue, I'll provide it as soon as possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions