Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated directive #384

Merged
merged 1 commit into from
May 8, 2016
Merged

Deprecated directive #384

merged 1 commit into from
May 8, 2016

Commits on May 7, 2016

  1. Deprecated directive

    This adds a new directive as part of the experimental schema language:
    
    ```
    directive @deprecated(reason: String = "No longer supported") on FIELD_DEFINITION | ENUM_VALUE
    ```
    
    It also adds support for this directive in the schemaPrinter and buildASTSchema.
    
    Additionally exports a new helper `specifiedDirectives` which is encoured to be used when addressing the collection of all directives defined by the spec. The `@deprecated` directive is optimistically added to this collection. While it's currently experimental, it will become part of the schema definition language RFC.
    leebyron committed May 7, 2016
    Configuration menu
    Copy the full SHA
    6796fad View commit details
    Browse the repository at this point in the history