java-object-diff icon indicating copy to clipboard operation
java-object-diff copied to clipboard

Suggestion: Put element index in CollectionItemElementSelector

Open chenjianjx opened this issue 6 years ago • 3 comments

With that we can build a more readable path, such as /child[0]/name , just like xpath.

chenjianjx avatar May 10 '18 03:05 chenjianjx

I think that by default the CollectionDiffer treats the collection as an unordered set, meaning there's no index.

plalx avatar Sep 28 '18 20:09 plalx

I would like to see an option for this as well

tadas-subonis avatar Dec 03 '18 08:12 tadas-subonis

Is there any update on this suggestion? I desperately would like to see if there is a way to identify the element index for updated collection (List?).

adhikari-sakar avatar Oct 26 '21 12:10 adhikari-sakar