Cosmos: Allow query engine to return Box<serde_json::value::RawValue>
for items
#2616
Labels
Cosmos
The azure_cosmos crate
The Client Engine, that provides the implementation of the query engine functionality, currently returns items as
Box<serde_json::value::RawValue>
. We should change the API for theQueryPipeline
trait to accept these as results, because they allow the client engine to hold un-parsed chunks of JSON and pass them back to the SDK to deserialize fully, without incurring extra copies or serialize/deserialize cycles.The text was updated successfully, but these errors were encountered: