Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

feat: add fragments server side  #575

@Ariel-Dayan

Description

@Ariel-Dayan

Allow clients that send queries to use predefined fragments on the server side.
The goal:

  1. Shorten the query for every client by avoiding to repeat the fragment declaration.
  2. Allow the client to have dynamic fragments that are updated server side. For example, if a field was added to the schema server side, the fragment will update accordingly.

Activity

added a commit that references this issue on Nov 28, 2019
9e7253f
acao

acao commented on Dec 9, 2019

@acao
Member

to follow conventions elsewhere, we might accomplish this via graphql-config where folks are already using similar capability for IDE tooling? but it should also be possible without graphql-config

acao

acao commented on Dec 9, 2019

@acao
Member

@Urigo what do you think about graphql-config plus express-graphql? I know we've been mostly focused on this for dev tooling

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @acao@IvanGoncharov@Ariel-Dayan

      Issue actions

        feat: add fragments server side · Issue #575 · graphql/express-graphql