I can´t get any referenced content from custom fields

Created on 13 December 2022, over 1 year ago
Updated 19 April 2023, about 1 year ago

Problem/Motivation

Whenever I try to get contents, from a referenced field, the values are ignored inside the fragments and in the graphql browser.

Steps to reproduce

1.- Activate the module
2.- Create a content, with a referenced field or a paragraphs with a referenced field to any content
3.- Go to the fragments to copy the proposed scheme

Proposed resolution

Add an array that allows traversing and obtaining all the values, when using content-referenced fields.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇪🇸Spain luis_mejia Barcelona

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.

  • 🇦🇺Australia AlMunnings Melbourne

    Reference unions have been re-worked in the 2.x branch. Closing issue.

    Sample:

    {
      nodePage(id: "2ff9ff4d-bcc5-4c78-a39b-d32a55869756") {
        id
        title
        termReference {
          ... on TermInterface {
            name
          }
        }
      }
    }
    

    Thank you for the report!

  • Status changed to Fixed about 1 year ago
  • 🇦🇺Australia AlMunnings Melbourne
Production build 0.69.0 2024