Skip to content

No fields returned on ContentNode query #362

@jonshipman

Description

@jonshipman

A query to contentNodes does not populate nodes in the return.

To reproduce, run a query:

query ThisIsBroken {
  contentNodes {
    nodes {
      ... on SimpleProduct {
        id
        name
        sku
        width
        weight
        uri
      }
    }
  }
}

The expected outcome would be to get populated fields.

Screenshot showing the issue in GiQL
image

WPGraphQL 0.14, WordPress 5.5.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    Merged

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions