GraphQL query: how to map a list of ids to the corresponding entities?

GraphQL query: how to map a list of ids to the corresponding entities?


0

I am working with Contentful CMS GraphQL API.

I have a field that contains a list of id’s:

GraphQL query: how to map a list of ids to the corresponding entities?

I’d like to retrieve the entities corresponding to those id’s. I can do it with a second query:

GraphQL query: how to map a list of ids to the corresponding entities?

But I’d like to do it on the fly, in the first query.

I suppose some code should be written to describe the types at play here.


Load 6 more related questions


Show fewer related questions

0



Leave a Reply

Your email address will not be published. Required fields are marked *