You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.
I have problem rendering results in a class like this:
// Some classes defined in https://github.com/openstreetmap/OSM-binary/blob/master/osmpbf/osmformat.protoimportorg.osm.protobuf.Nodeimportorg.osm.protobuf.Wayimportorg.osm.protobuf.RelationcaseclassGeoMap(nodes: Seq[Node], ways: Seq[Way], relations: Seq[Relation])
Inner objects (Node, Way, Relation) are not properly indented and also, only the first line is highlighted when there is a difference.
I realised that the example provided did not trigger the issue. The issue was caused by a list of protobuf objects; protobuf defines a toString method that produces a multiline result. Updated the title of this issue.
UnaiUribarri-TomTom
changed the title
Complex Objects are not rendered properly in diff results
Objects with multi-line toString method are not rendered properly in diff results
Mar 23, 2023
I have problem rendering results in a class like this:
Inner objects (Node, Way, Relation) are not properly indented and also, only the first line is highlighted when there is a difference.
I have posted PR #432 that resolves both issues.
The text was updated successfully, but these errors were encountered: