generated at
Schema Directives

GraphQL Schemaの定義内に出てくる @ で始まるdecorator

graphql
directive @deprecated( reason: String = "No longer supported" ) on FIELD_DEFINITION | ENUM_VALUE type ExampleType { newField: String oldField: String @deprecated(reason: "Use `newField`.") }


Code Firstなlibraryでは使えない?
TypeGraphQLNexusで、これをサポートするようにissueが出てるけど、まだ解決されていないっぽい

GraphQL specifivatonにあるDirectivesの例
@deprecated
@skip
@include

何が嬉しいか?