SQiShER/java-object-diff

Suggestion: Put element index in CollectionItemElementSelector

chenjianjx opened this issue · 3 comments

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

plalx commented

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

I would like to see an option for this as well

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?).