Frontify / frontify-aem-connector

Frontify Adobe Experience Manager
MIT License
4 stars 4 forks source link

Address 2021 July breaking API changes #11

Closed ValtechDeBruyneYves closed 3 years ago

ValtechDeBruyneYves commented 3 years ago

Address the deprecation warnings returned in the GraphQL calls from the API

"notices":{"deprecations":[{"field":"asset_count","message":"This field will be removed. UseassetCountinstead.","date":"2021-07-01T00:00:00.000+00:00","path":"project.asset_count"},{"field":"has_next_page","message":"This field will be removed. UsehasNextPageinstead.","date":"2021-07-01T00:00:00.000+00:00","path":"project.assets.has_next_page"},{"field":"generic_url","message":"This field will be removed. UsepreviewUrlinstead.","date":"2021-07-01T00:00:00.000+00:00","path":"project.assets.items.[].generic_url"}]}

See also https://developer.frontify.com/d/3WghAQkakjYf/api#/general/breaking-changes

Removing of all snake_case attributes and nodes. In an effort to move to industry standards we rename all attributes following our naming schema to camelCase. We thus remove all snake_case attributes.