Skip to content

Compatability issue with WPGraphql 1.6+ #27

@tomgreeEn

Description

@tomgreeEn

The plugin causes an error when attempting to run a taxQuery on a contentNode when using wpGraphQL 1.6.4.

Steps to reproroduce:

This query:

query MyQuery { contentNodes(where: {taxQuery: {relation: AND, taxArray: {field: SLUG, operator: AND, taxonomy: CATEGORY, terms: "watches"}}}) { nodes { ... on NodeWithTitle { title } } } }

Succeeds when using WPGraphql 1.5.9 but fails on 1.6.4 with the message:

Type loader is expected to return a callable or valid type "RootQueryToContentNodeConnectionWhereArgsTaxArray", but it returned null"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions