Skip to content

Cannot get inline fragment fields from selectionSet #973

@domarmstrong

Description

@domarmstrong

Hi. I am not seeing a way to retrieve the fields of an inline fragment from the DataFetchingEnvironment.
The following query yields id,type,status but not other. GetFragmentsByName returns nothing. So not sure how i am supposed to access this field?

{
    things {
      id
      type
      status
      ...on ChildType {
        other
      }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions