C# Driver still uses deprecated $within instead of $geoWithin

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Trivial - P5
    • None
    • Affects Version/s: 1.8.1
    • Component/s: None
    • None
    • None
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None

      Good afternoon,

      I was reading over the geospatial query capabilities of mongodb in the documentation and in parallel was playing with the c# driver wroting some sample queries, but when I came to the $geoWithin operator, which apparently replace the deprecated $within one, I saw that the QueryBuilder.cs file still contains the aforementioned $within operator.. instead of $geoWithin (see https://github.com/mongodb/mongo-csharp-driver/blob/master/MongoDB.Driver/Builders/QueryBuilder.cs#L712).

      Not sure how this affects actual usage (atm it seems to work just fine), but I thought I'd report it nevertheless so the driver gets updated to $geoWithin as well.

      Cheers,
      -J

            Assignee:
            Unassigned
            Reporter:
            Jörg B.
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: