Skip to content

Support new description syntax #63

Closed
@jlengstorf

Description

@jlengstorf

As of v0.12.0, field descriptions need to be represented as strings rather than comments.

That means that the following schema:

type Query {
  # Receive a greeting.
  hello: String
}

Needs to be rewritten as:

type Query {
  """
  Receive a greeting.
  """
  hello: String
}

Syntax highlighting should be updated to reflect the string type; right now it looks pretty wonky.

screencap-by-jlengstorf 26

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