Skip to content

improve indentation when printing out objects in mismatch error #5

Description

@bertvanbrakel

when printing log lists of dto's, child dtos need to be indented correctly.

Maybe detect if child contains new lines,if it does, indent, if not, same line. Possibly be
able to do this in a generic way.

Currently if have

FooDto {
String MyProp {get;set;}
ChildDto Child {get;set;}
}

the child properties are printed at the same indentation as the properties of FooDto. Possibly use a json printer?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions