apollo-language-server 0.7.0

A GraphQL language server with first-class support for Apollo Federation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
source: crates/language-server-core/src/hover/mod.rs
expression: markup.value
---
Marks an element of a GraphQL schema as no longer supported.
***
```graphql
directive @deprecated(
  """
  Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).
  """
  reason: String = "No longer supported",
) on FIELD_DEFINITION | ARGUMENT_DEFINITION | INPUT_FIELD_DEFINITION | ENUM_VALUE
```