Quartz / wp-graphql-content-blocks

Structured content blocks for WPGraphQL
76 stars 16 forks source link

Can't query blocks on type post error #1

Closed marcinsydor closed 5 years ago

marcinsydor commented 5 years ago

I have installed and activated plugin and when I test a below query in GraphiQL then I'm getting an error message: Cannot query filed "blocks on type "post"

{
  page: postBy(uri: "hello-world") {
     title
     blocks {
    type
        innerHtml
    }
  }
}

Do I need to do anything else to make it work?

chriszarate commented 5 years ago

@marcinsydor Are you using the newest version of WPGraphQL? The filters moved a bit in 0.2.0 and I'm about to push up an update to address that.

chriszarate commented 5 years ago

Just pushed it up (on master)

ilsx commented 5 years ago

I have the same issue Cannot query field \"blocks\" on type \"RootQueryToPostConnection\ I'm using the latest version of WPGraphQL. Wich version is compatible with the latest wp-graphql-content-blocks ? Thank you