title: How to get list of ACF taxonomy value options in gatsby-source-wordpress
body: <p>I'm using the gatsby-source-wordpress plugin with gatsby to pull data from a wordpress cms. I'm also using ACF fields in Wordpress and have install the acf-to-rest-api plugin. With this plugin installed gatsby-source-wordpress plugin is able to pull ACF field data.</p>
  
  <p>My question is: how can I get a list of taxonomy value options from a certain field? I don't want the taxonomy items associated with the particular post types in question, but a list of possible options.</p>
  
  <p>To be a bit more specific, this query:</p>
  
  <pre><code>query MyQuery {
    allWordpressAcfResource {
      nodes {
        acf {
          topics {
            name
          }
        }
      }
    }
  }
  </code></pre>
  
  <p>returns data like:</p>
  
  <pre><code>{
    "data": {
      "allWordpressAcfResource": {
        "nodes": [
          {
            "acf": {
              "topics": [
                {
                  "name": "Germany"
                },
                {
                  "name": "United States"
                },
              ]
            }
          },
          {
            "acf": {
              "topics": [
                {
                  "name": "Dogs"
                },
                {
                  "name": "Germany"
                }
              ]
            }
          },
          ...
          ...
          ...
  </code></pre>
  
  <p>What I want is to get a list from the above that would just hold the possibly taxonomy values, but I have been unable to discover a GraphQL query to do this.</p>
  
  <p>Does anyone know if this is possible?</p>