Details
Description
Insert picks up serialization settings from the client configuration, but Upsert does not. I do not know if there are other operations that do not pick up the serialization settings. An example:
using (var cluster = new Cluster(new ClientConfiguration
{
SerializationSettings = new JsonSerializerSettings
DeserializationSettings = new JsonSerializerSettings { TypeNameHandling = TypeNameHandling.Objects }
}))
{
using (var bucket = cluster.OpenBucket())
{
bucket.Insert("testOk", new Entity
);
bucket.Upsert("testFail", new Entity
);
}
}
}
Attachments
For Gerrit Dashboard: NCBC-733 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
44387,3 | NCBC-733: use given transcoder in Set operation | master | couchbase-net-client | Status: ABANDONED | 0 | +1 |
44620,2 | NCBC-733: use given transcoder in Set operation | master | couchbase-net-client | Status: MERGED | +2 | +1 |