I am working with a CMS and have a series of components such “Carousel”, “Heading”, “Author”, Linked Content.
{
"components" : [
{"Heading": "Some heading"},
{"Author": "Some Author"},
{"LinkedContent": "Link To Another Collection" },
{"Carousel": {}},
]
}
-
As components are added dynamically, is it essential that I generate a GraphQL scheme every time new components are added. My requirement is for GraphQL to return these properties. I do not need to query them via GraphQL.
-
In the “LinkedContent” example above the property is referencing a document from another collection. What is the best approach to include this document in a GraphQL response.