Skip to content

Commit

Permalink
Add deprecation note to the docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Jul 13, 2019
1 parent 1a528b7 commit afa494e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docs/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Introduction
the JavaScript reference implementation for GraphQL_,
a query language for APIs created by Facebook.

.. attention:: GraphQL-core-next has been deprecated.
It is now released as GraphQL-core v3 and newer.

`GraphQL`_ consists of three parts:

* A type system that you define
Expand Down
4 changes: 2 additions & 2 deletions src/graphql/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __str__(self):
version_info_js = VersionInfo(14, 4, 0, "final", 0)

warn(
"Note: GraphQL-core-next has been deprecated.\n"
" It is now available as GraphQL-core version 3 and newer.\n",
"GraphQL-core-next has been discontinued."
" It is now released as GraphQL-core v3 and newer.",
DeprecationWarning,
)

0 comments on commit afa494e

Please sign in to comment.