Skip to content

ObjectAppendingMarker in v7.0+ has no means to access the fieldValue as its object type #719

@timorjim

Description

@timorjim

Describe the bug
Have a test using AssertJ that accesses the field in ObjectAppendingMarker. It previously was called object and the test could access it as the correct object type. v7.0 renamed the field to be fieldValue and the AssertJ reflection favours the getFieldValue method over the field itself, and the getter always returns a string.

Is there a way to get the fieldValue as its type rather than a string? I have a value that is a map, and having this converted to a string makes testing problematic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions