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.
I didn't have time to check yet, but we had a user of our library ZfrShopify having a breaking change in last version of Guzzle-Services (downgrading to 1.1.0 fixed the issue).
We have a descriptor that looks like this:
'GetMetafields' => [
'httpMethod' => 'GET',
'uri' => 'admin/metafields.json',
'parameters' => [
'metafield' => [
'description' => 'Filter metafields by resource type and ID (accepts sub-fields "owner_id" and "owner_resource")',
'location' => 'query',
'type' => 'object',
'required' => false
],
]
]
Hi,
I didn't have time to check yet, but we had a user of our library ZfrShopify having a breaking change in last version of Guzzle-Services (downgrading to 1.1.0 fixed the issue).
We have a descriptor that looks like this:
We called it this way:
This used to properly serializes those parameters as ?metafield[owner_id]=123&metafield[owner_resource]=product
In the last version, it apparently does not work and serialize it as ?metafield=123&metafield=product, so it's a rather big breaking change.
We'll try to have a look but if you already know the reason, it would be nice to revert!