thinhle-agilityio / gatsby-source-apiserver

A gatsby source plugin for pulling data from api server.
63 stars 34 forks source link

Nested queries? #31

Open sashafklein opened 4 years ago

sashafklein commented 4 years ago

Does this tool allow for making "nested" queries, based on the response from previous queries?

The use case I'm thinking of is a relatively typical one. There's an index-style GET URL that returns high-level information (including IDs) for a list of objects, but if you want the full in-depth info, you have to query for each object (eg /resources/:id) independently, after having pulled the list of IDs.

Does this tool support that somehow? If not, any suggestions? (Sorry if this has already been asked. Couldn't find a similar issue).

thinhle-agilityio commented 4 years ago

@sashafklein this is similar with #10 with a solution there, pls check it out