Details
-
Task
-
Resolution: Fixed
-
Major
-
fit-performer
-
None
-
None
-
2
-
SDK06: FIT, PS, CXX
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.