Taxonomy terms generated schema doesn't work.

Created on 4 January 2023, over 1 year ago
Updated 19 April 2023, about 1 year ago

Problem/Motivation

The taxonomy terms explorer returns Cannot return null for non-nullable field error.

Error message:

GraphQL\Error\InvariantViolation: Cannot return null for non-nullable field "Query.taxonomyTermMyvocabularies". in GraphQL\Executor\ReferenceExecutor->completeValue() (line 748 of /app/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php)

Steps to reproduce

  1. Add a Vocabulary (Ex: MyVocabulary)
  2. Create a GQL server (Ex: tests)
  3. Goto explorer: (admin/config/graphql/servers/manage/tests/explorer)
  4. Try to query the vocabulary terms

Proposed resolution

It looks like something is wrong with DataManager.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡²Armenia le72 Yerevan πŸ‡¦πŸ‡²

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024