Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 531 Bytes

pr-9116.md

File metadata and controls

28 lines (23 loc) · 531 Bytes

Fix formatting for directives in fields (#9116 by @sosukesuzuki)

# Input
type Query {
  someQuery(id: ID!, someOtherData: String!): String! @deprecated @isAuthenticated
  versions: Versions!
}


# Prettier stable
type Query {
  someQuery(id: ID!, someOtherData: String!): String!
  @deprecated
  @isAuthenticated
  versions: Versions!
}

# Prettier master
type Query {
  someQuery(id: ID!, someOtherData: String!): String!
    @deprecated
    @isAuthenticated
  versions: Versions!
}