commercetools / commercetools-php-sdk

The e-commerce SDK from commercetools for PHP.
https://docs.commercetools.com/sdk/php-sdk#php-sdk-v1
MIT License
43 stars 22 forks source link

Missing version in CustomObjectDraft #249

Closed Haehnchen closed 8 years ago

Haehnchen commented 8 years ago

the new value and the version is incremented. The version control is optional. If the request contains a version and an objec

https://github.com/sphereio/commercetools-php-sdk/blob/develop/src/Model/CustomObject/CustomObjectDraft.php

jenschude commented 8 years ago

I fixed the issue and also changed the CustomObjectCreateRequest to accept custom object drafts as well as custom objects. I'm preparing the release of v1.3.1 with the included fix at the moment

Haehnchen commented 8 years ago

thx! ;)

jenschude commented 8 years ago

v1.3.1 released: https://github.com/sphereio/commercetools-php-sdk/releases/tag/v1.3.1