Get nested data with Heartcore graphql
# help-with-umbraco
v
Trying to query some nested data in heartcore. I have a customers pages, this customer page links to audits. Audits is a parent page that can contain many audits (individual pages). I manage to get data from the root audits page, but I can't seem to get the individual audits (nested one level deeper) The page that contains all the audits for a customer is of type granskninger, an individual audit is of the type granskning. I tried doing something like this
Copy code
graphql
granskniknger {
      name
      url  
      ...on Granskning {
        name
      }
    }
But I don't get any of the actual audits with this method https://cdn.discordapp.com/attachments/1171064483133800589/1171064483314143283/image.png?ex=655b51ca&is=6548dcca&hm=53010feb60218081d099137cbaf1b95c62574f64d13a43b01ccbc0595377d516& https://cdn.discordapp.com/attachments/1171064483133800589/1171064483616137236/image.png?ex=655b51ca&is=6548dcca&hm=544bf34ddd9e325522e3f53213e3e5431a3170aa4fda5cdcbfaa5e9d7f7a5b22&
2 Views