magento / architecture

A place where Magento architectural discussions happen
274 stars 154 forks source link

Catalog media tech vision #386

Closed buskamuza closed 4 years ago

buskamuza commented 4 years ago

Technical vision for future of managing catalog media.

DrewML commented 4 years ago

Can we include an overview of the current state, and what problems we're trying to solve with these changes?

buskamuza commented 4 years ago

Can we include an overview of the current state, and what problems we're trying to solve with these changes?

It is for the new Storefront service, which doesn't exist yet (not released at least). So the purpose of this document is to describe how new Storefront should handle assets.

Though, there is something that currently exists: existing Magento Catalog GraphQL returns image URLs, which are transformed images, not originals. Image transformation is covered in the document. And there is "Breaking Changes" section in the end, which explains that the new vision makes GraphQL return original URLs instead (problems with this are also described). Other than this, I don't think anything really exists.