Closed andrei-ivanov closed 2 years ago
Hmm, it seems those classes were added 5 days ago, so I assume they were not yet released 😀
I'm trying to understand how to use the API by searching for various classes, like CustomObject
in github, which lead me to the integration tests and those use the new classes.
I hope the actual tutorials in the site can be updated to use the new API version, since they seem to use the old version
Could you point me to were you found a tutorial with the old version? So that it can be directly updated
I think all of the tutorials that have Java code are affected...
https://docs.commercetools.com/tutorials/nested-types https://docs.commercetools.com/tutorials/custom-types https://docs.commercetools.com/tutorials/custom-fields-prices https://docs.commercetools.com/tutorials/assets https://docs.commercetools.com/tutorials/review-ratings
Also some white papers have examples using old APIs
Should I create a separate ticket for the tutorials?
The docs are maintained in a private repository. So it makes no sense to track these changes inside this one. :)
We will update them over time.
The classes from
https://github.com/commercetools/commercetools-sdk-java-v2/tree/main/commercetools/commercetools-sdk-java-api/src/main/java/com/commercetools/api/models/custom_object
are not present in the jar, only the generated classes fromhttps://github.com/commercetools/commercetools-sdk-java-v2/tree/main/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/custom_object