Uploaded image for project: 'Swift Driver'
  1. Swift Driver
  2. SWIFT-344

Add a method for checking document equality that does not take ordering into account

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      We've had a couple users ask in the past why documents with identical key-value pairs in different orderings are not considered equal.

      It would be nice to expose a sortedEquals or something method in the public API we can point users to when they need to make these comparisons.

      We already have a Nimble matcher sortedEquals that does this check, so that should be updated to just call the new method.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            kaitlin.mahar Kaitlin Mahar
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: