guzzle / guzzle-services

Provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures.
MIT License
253 stars 78 forks source link

Fixing JsonLocation::visit() not returning a request #106 #107

Closed Pinolo closed 8 years ago

Pinolo commented 8 years ago

in guzzle6, Serialize::prepareRequest() calls visit() but it expects a RequestInterface that goes to replace the one passed to the method. The visit() implementation of JsonLocation only writes to $this->jsonData and doesn't return anything, so the origina request is replaced with null.

Konafets commented 8 years ago

This is fixed in https://github.com/guzzle/guzzle-services/pull/109