-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatability issue with WPGraphql 1.6+ #27
Comments
On further inspection, the issue is not specific to this plugin - closing issue |
Further investigation confirms this is not specific to contentNodes and is reproducible using only wp-graphql & wp-graphql-tax-query with the updated query:
With variables:
Error message:
|
Broken by wp-graphql/wp-graphql#2000 If not addressed, I will take a look at it next week Offtopic: this extension should be a part of a core plugin, in the worst case a discouraging feature - due to performance issues. Not sure why it is still being not |
I think I'm getting the same problem trying to use variables... GraphQL\Error\InvariantViolation: Type loader is expected to return a callable or valid type "RootQueryToVideoConnectionWhereArgsTaxArray", but it returned null Did anyone work out what the issues is here? |
Hi, I'm getting the same error as above on a custom post type taxonomy. Digging through the code I found out that I still haven't worked out a solution but for now I have downgraded the plugin to 1.5.9. |
Hi, all, I'm also getting the same errors as above! I've since downgraded to 1.5.9 to resolve my issues, but i'd like to upgrade. |
WP-GraphQL team, this is a pretty active issue being reported in the WP-GraphQL slack, and here. Has there been any attention given to this? |
Hi, @duffner, I got lazy 🙃, but needed to fix this quickly. So, I have created a patch for WPGraphQL - https://gist.github.com/Zinkutal/4d7670f504993d7ff3e8f5bd6167334c Beware of type changes, ex:
Waiting for wp-graphql/wp-graphql#1387 to be merged |
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:
The text was updated successfully, but these errors were encountered: