Modifiy response from GraphQL & Orchard

Viewed 43

I am using Graphql queries to access our Orchard CMS api to receive content for my web page

In my case I have three different part I need to access from a page lets call them table1, table2 and table3

If I wanted to fetch the content form these three tables it would look something like this: see picture enter image description here

My question now is: Is it possible to group the objects in the queries response together like:

"data":{
  contentArray:[
    table:{
       tableOne: {}
       tableTwo:{}
       tableThree:{}
    }
  ]
}
0 Answers
Related