Skip to content

Documentation: How to filter a set? #20

@sebastianmacias

Description

@sebastianmacias

I'm looking at the example:

const myQuery = gql`{
  fish {
    red {
      name
    }
    
    blue {
      _chain
    }
    
    friends(type: Set) {
      name
      favoriteColor
    }
  }
}`;

it there a way to return only the friends whose favoriteColor is gold instead the of the full set?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions