guzzle-services icon indicating copy to clipboard operation
guzzle-services copied to clipboard

response_locations Config spread to Deserializer

Open Pierozi opened this issue 7 years ago • 9 comments

Hello,

I've been stuck a while before understanding the custom locations was not declared into Deserializer it seems the config was not parsed.

Config key named response_locations as the GuzzleHttp\Command\Guzzle\GuzzleClient constructor comment expect

  • response_locations: Associative array of location types mapping to
  • ResponseLocationInterface objects.

Pierozi avatar Jun 10 '17 11:06 Pierozi

Hi @Konafets Did you think you had time to look at this PR within the next month? I would rather to not put my fork on packagist only for composer dependency installation issue.

Thanks

Pierozi avatar Jun 14 '17 14:06 Pierozi

Hi @Pierozi,

I can not promise, but will try to have a look to your patch. Meanwhile you can add the url of your fork to your composer.json. Composer will fetch your package instead of this.

https://getcomposer.org/doc/05-repositories.md#loading-a-package-from-a-vcs-repository

Konafets avatar Jun 21 '17 10:06 Konafets

Hello @Konafets, thanks for your consideration.

The issue related to composer is the project using an SDK using guzzle-services. So if I put my repo in SDK it's ok, but not for the first project.

but it's ok, the project related currently builds in PHAR, so instead of advice user to install through composer, we will recommend downloading the PHAR, as we control the build we can implement repository.

Thanks.

Pierozi avatar Jun 22 '17 14:06 Pierozi

Any contributor want to review this one?

Pierozi avatar Nov 01 '17 08:11 Pierozi

May I ask you to provide a UnitTest which reflect your initial issue and shows how your patch fix this. Thanks!

Konafets avatar Nov 21 '17 10:11 Konafets

Hello, there is the unit test to reflect the implementation of Custom ResponseLocation. I've also already rebase the PR on master to be up to date.

Pierozi avatar Feb 11 '18 11:02 Pierozi

Hello There, any chance to have some progress here?

Pierozi avatar Apr 27 '18 06:04 Pierozi

Are you able to rebase this and revert the package rename?

GrahamCampbell avatar Aug 14 '21 22:08 GrahamCampbell

Seriously 4 years after... It has been the last time I touch PHP, did the PR still make sens in the today codebase?

Pierozi avatar Nov 05 '21 14:11 Pierozi

Sorry this took so long to get to, I only took over maintenance of this package in the last couple of years, and the plans for it are just to keep it compatible with new PHP versions and new Guzzle versions. I'm not sure either you nor I want/ned this feature any-more/have the time/head-space to do anything with this PR, and so I'm going to go ahead and close this out for now. If you feel differently, please let me know.

GrahamCampbell avatar Mar 31 '24 10:03 GrahamCampbell