Getting component name in dynamic zone on graphiQL

System Information
  • Strapi Version: 3.4.0
  • Operating System: 10.15.4
  • Database: sqlite(DEV) psql(PROD)
  • Node Version: 10.18.1
  • NPM Version: 6.13.4
  • Yarn Version: 1.22.5

I’m currently setting up a Gatsby project, using strapi as my CMS. I have an article collection type that has a dynamic zone modals that references components in the modal category type I defined. Each modal I’ve created has it’s own unique name, so I know how to render them on gatsby; however, I am struggling to pull the component name when i query for my articles on gatsby, graphql.

I’m not sure what else to include to make my question more clear, but I’ve pasted my graphql query if that helps.

query MyQuery {
  allStrapiArticles {
    edges {
      node {
        modals {
          title
          vimeoUrl
          content
          id
        }
      }
    }
  }
}