Skip to content

Conversation

@delyriand
Copy link

Summary:

  • Readd the jane-php/json-schema to generate DTO and regenerate DTO classes with the last version
  • Add "type" in ImageDTO and the automapper add value from Image class
  • Add method in ProductDTO to retrieve images by type

image

image

With {{ dump(item.imagesByType('main')|first) }} in Product template:

image

@delyriand delyriand force-pushed the feature/index-image-type branch from 28ae62a to acf97e1 Compare November 28, 2024 09:19
@maximehuran maximehuran merged commit 9eb493c into monsieurbiz:master Nov 28, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants