graphql and content fragments
If a site has say 500 game info pages, all using the same page template, all with the same layout, and all with the same the same properties (title, short description, game Id, game type, game large image, game small image etc), it would be great if a front end app could query a subset of these, e.g. to show small image and short description for games of a particular type.
This could be done with a custom sling servlet, but the params, search query and response fields would be hard coded.
We understand that to use graphql, which would seem perfect, requires that the content not be a page, nor a component, nor an experience fragment, but a content fragment.
Would it make sense to model game info pages with a generic template, which has an experience fragment, which contained a content fragment, just to be able to use graphql to query the data dynamically?
We have found that there is a "bug" where content fragment images are not responsive, which would be a show stopper for using this feature unfortunately:
https://github.com/adobe/aem-core-wcm-components/issues/728