Skip to content

Deprecation changes are incorrectly formatted on schema version view #6692

@n1ru4l

Description

@n1ru4l

SDL:

enum CriticalityLevel {
  Breaking
    @deprecated(
      reason: "Use 'SeverityLevelType' instead. This field will be removed once it is no longer in use by a client."
    )
  Dangerous
    @deprecated(
      reason: "Use 'SeverityLevelType' instead. This field will be removed once it is no longer in use by a client."
    )
  Safe
    @deprecated(
      reason: "Use 'SeverityLevelType' instead. This field will be removed once it is no longer in use by a client."
    )
}

Rendered UI:

Image

The word Use is in a code block, the actual message is not. Thsi si probably related to the usage of ' within the deprecation message.

Example on staging: https://app.staging.graphql-hive.com/the-guild/graphql-hive/staging/history/c4bd48a7-5bbc-493b-9d8a-eb6848894479

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions