Closed ismail1432 closed 3 years ago
In GenericHttpClient, The body is serialized with the format defined in the microservice configuration.
I suggest to remove this and let the json option of httpclient transform the body.
If we do this we can remove the serialiazer dependence
Wdyt?
The serialization format could be anything depending on the configuration. It could be JSON, JSON-LD, or even CSV. I'm afraid that we can't delegate deserialization to the ResponseInterface::json method here.
ResponseInterface::json
In GenericHttpClient, The body is serialized with the format defined in the microservice configuration.
I suggest to remove this and let the json option of httpclient transform the body.
If we do this we can remove the serialiazer dependence
Wdyt?