Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

'small_image' in 'ProductInterface' does not have enough info #88

Closed
@DrewML

Description

@DrewML

Preconditions

  1. 2.3-develop branch

Steps to reproduce

  1. Using /graphql, POST a query that requests the small_image for a product
  2. The string returned for the small_image field will be in the format /m/b/mb02-gray-0.jpg.
  3. The format returned does not have enough information for a client-rendered Magento application to append the uri to an img tag. The returned format is https://mmnl.test/media/catalog/product/cache/2765542505660baab28ecd555e27366e/m/b/mb02-gray-0.jpg

Expected result

  1. small_image (and other image values in the ProductInterface) should return a URL that can be used as-is to fetch the associated image

Actual result

  1. small_image is populated with a value that can not be used without obtaining other info about cache configuration.

AC:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions