Skip to content

Handling Populated Fields #14

Description

@viztastic

Thanks for this @hekike , really helpful.

Your GraphQL Schema that a user is only interested in returning the populated list of friends. What if we need the flexibility to return the list of IDs OR the list of actual friends. How would we set the Type of the 'friends' field to accomodate both scenarios?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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