Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3660

FIT Performer: Fix Search Hit and Location parsing

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • fit-performer
    • fit-performer
    • None
    • None

    Description

      The .NET SDK's Search API sometimes makes parsing values between SDK and proto-defined schemas difficult or incompatible.

      The test Driver is expecting the "Fields" field of a SearchQueryRow to be a ContentTypes proto object which enforces "Fields" to be one specific type (bool, double, int, byte[], string, JsonArray, JsonObject).

      But in the .NET SDK, "Fields" is a Dictionary<string, dynamic>.

      Changing this in the SDK would be a breaking change, so I propose we serialize this Dict into a Json-formatted string and return it for the compatible ContentTypes, ignoring the other ones.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            emilien.bevierre Emilien Bevierre
            emilien.bevierre Emilien Bevierre
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty