Closed ChiefWiggum closed 4 years ago
This issue is really tied to the V2 SDK, this library does not have any particular logic or code that relies on the SDK behaving one way or the other.
The way you solved the scenario is basically what I would recommend.
We're using DateTimeOffsets in CosmosDB, but when using the Change Feed Processor library (v2) the dates always get converted. This can be resolved by using a custom
DocumentClient
that has customJsonSerializerSettings
and then use this client with.WithFeedDocumentClient(docClient)
when building it.Is this the recommended way of solving the parsing issue?