markhuot / craftql

A drop-in GraphQL server for Craft CMS
Other
320 stars 53 forks source link

Query all globals from all sites #255

Open millman2394 opened 5 years ago

millman2394 commented 5 years ago

Is there a way to loop through ALL sites' globalsets?

Right now I can do:

{
  globals(site:"sanFrancisco"){
    contactInfo{
      locationAddress
    }
  }
}

removing the site parameter will just query the main site's information

I know I can access all of my site's handles.

I'd like to take that data and loop through globalsets to return each site's global set