Azure / Azure/azure-documentdb-java

Expose the response string in ResourceResponse

Đang mở
#124 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
feature
Ngôn ngữ chính
Java
Star
51
Fork
52
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi,

Currently there is no way to get the original response string for a `ResourceResponse` - there is only access to the already parsed JSON property bag.

I need to convert the response to custom class (protobuff in my case) and having to serialize using toString() is a waste since the SDK already has access to the JSON string.

It would be great if the SDK could expose this since `DocumentServiceResponse` already has a `getReponseBodyAsString`.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.