Azure / Azure/azure-documentdb-java

Expose the response string in ResourceResponse

Ouverte
#124 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
feature
Langage dominant
Java
Étoiles
51
Forks
52
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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`.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.