wp-graphql icon indicating copy to clipboard operation
wp-graphql copied to clipboard

:rocket: GraphQL API for WordPress

Results 242 wp-graphql issues
Sort by recently updated
recently updated
newest added

When using the path to a media item in a `nodeByUri` query, I get a `null` response. This isn't happening on every environment I've tested, so it might be permalink...

Bug
Component: Model Layer
Component: Query
ObjectType: Media
focus: node resolver

When querying for page/post preview data with `asPreview` set to `true` and the `idType` is of type `URI`, preview data is not returned as expected. Take the following query: ```...

Bug
impact: med
:rocket: Actionable
Component: Query
focus: node resolver

I'm seeing an issue with Polylang and trying to fetch content by uri. https://github.com/valu-digital/wp-graphql-polylang/issues/57 it's already been reported on the polylang repo but it may be a core issue. If...

Bug
close candidate
focus: node resolver

Really strange and specific issue here... thought it might be downstream to `wp-graphql-woocommerce` and [wp-grapql/wp-graphql-woocommerce#491](https://github.com/wp-graphql/wp-graphql-woocommerce/issues/491), but it's present even without the downstream plugin enabled. Steps to replicate: 1. Fresh wordpress...

Bug
Work In Progress
Extensions
Component: Interfaces
Component: Query
woocommerce
focus: node resolver

I have registered a custom post type. So when I query a page that has same slug/uri as the custom post type, I receive the custom post type instead. I...

Bug
Needs to be reproduced
focus: node resolver

**Problem** When a page has a path such as `my-page/#some-anchor-link`, many clients will pass that as the id for a `nodeByUri` query. While we could argue that the client should...

Enhancement
:rocket: Actionable
ObjectType: Post
ObjectType: Term
ObjectType: User
Component: Query
ObjectType: Media
focus: node resolver

## Expected behavior When querying a single page by `URI` and the provided `URI` does not exist, no error is thrown, and the returned data is null. ## Actual behavior...

Bug
impact: med
ObjectType: Post
focus: node resolver

This is a tracker for all the issues relating to improving the experience of using mutations. ## Proposed Work The most of this can be solved holistically is through a...

Type: Enhancement
Architecture
impact: med
Component: Mutations
scope: API
focus: mutation refactor

## Problem Upgrading `WPBrowser` from `3.1.0` to `3.1.1+` causes [`tests/wpunit/UserObjectMutationsTest.php:testSendPasswordResetEmailSentWithUsername`](https://github.com/wp-graphql/wp-graphql/blob/18838ea8779e204ff87b9a1b50bf12f6689193fd/tests/wpunit/UserObjectMutationsTest.php#L1058) and [`tests/wpunit/UserObjectMutationsTest.php:testSendPasswordResetEmailSentWithEmail`](https://github.com/wp-graphql/wp-graphql/blob/18838ea8779e204ff87b9a1b50bf12f6689193fd/tests/wpunit/UserObjectMutationsTest.php#L1069) to fail. Assumingly this is caused by the following WPBrowser changelog item in [v3.1.1](https://github.com/lucatume/wp-browser/releases/tag/3.1.1): `in the context of...

Bug
Tests
dependencies
focus: mutation refactor

Currently users need to click the "preview" button in the WordPress admin to generate a preview of a post (of any public post_type). As a client developer, I would like...

needs: discussion
type: feature
focus: mutation refactor