Skip to content

Order of the "Queries and Mutation" sections on the Learn Page #1246

Closed
@OliverSieweke

Description

@OliverSieweke

Thank you for the very readable and well organized Learn material on the website. This is just to propose a slight change in the order of the sections of the Query and Mutation page.

The Operations Name section specifies:

Up until now, we have been using a shorthand syntax where we omit both the query keyword and the query name

Which is not quite true as the previous Fragments section provides the following example:

query HeroComparison($first: Int = 3) {
  leftComparison: hero(episode: EMPIRE) {
    ...comparisonFields
  }
  rightComparison: hero(episode: JEDI) {
    ...comparisonFields
  }
}

It might therefore make sense to swap around the order of the Fragments and Operations Name sections.

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