Skip to content

Commit 97be979

Browse files
committed
Remove old name graphql-core-next from docs
1 parent bbce7d5 commit 97be979

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

docs/usage/extension.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Extending a Schema
22
------------------
33

4-
With GraphQL-core-next you can also extend a given schema using type extensions. For
4+
With GraphQL-core 3 you can also extend a given schema using type extensions. For
55
example, we might want to add a ``lastName`` property to our ``Human`` data type to
66
retrieve only the last name of the person.
77

docs/usage/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Usage
22
=====
33

4-
GraphQL-core-next provides two important capabilities: building a type schema, and
5-
serving queries against that type schema.
4+
GraphQL-core provides two important capabilities: building a type schema, and serving
5+
queries against that type schema.
66

77
.. toctree::
88
:maxdepth: 2

docs/usage/introspection.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Using an Introspection Query
33

44
A third way of building a schema is using an introspection query on an existing server.
55
This is what GraphiQL uses to get information about the schema on the remote server. You
6-
can create an introspection query using GraphQL-core-next with::
6+
can create an introspection query using GraphQL-core 3 with::
77

88
from graphql import get_introspection_query
99

@@ -41,15 +41,15 @@ This result contains all the information that is available in the SDL descriptio
4141
schema, i.e. it does not contain the resolve functions and information on the
4242
server-side values of the enum types.
4343

44-
You can convert the introspection result into ``GraphQLSchema`` with GraphQL-core-next
45-
by using the :func:`graphql.utilities.build_client_schema` function::
44+
You can convert the introspection result into ``GraphQLSchema`` with GraphQL-core 3 by
45+
using the :func:`graphql.utilities.build_client_schema` function::
4646

4747
from graphql import build_client_schema
4848

4949
client_schema = build_client_schema(introspection_query_result.data)
5050

5151

52-
It is also possible to convert the result to SDL with GraphQL-core-next by using the
52+
It is also possible to convert the result to SDL with GraphQL-core 3 by using the
5353
:func:`graphql.utilities.print_schema` function::
5454

5555
from graphql import print_schema
@@ -60,4 +60,4 @@ It is also possible to convert the result to SDL with GraphQL-core-next by using
6060
This prints the SDL representation of the schema that we started with.
6161

6262
As you see, it is easy to convert between the three forms of representing a GraphQL
63-
schema in GraphQL-core-next.
63+
schema in GraphQL-core 3.

docs/usage/other.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Subscriptions
44
.. currentmodule:: graphql.subscription
55

66
Sometimes you need to not only query data from a server, but you also want to push data
7-
from the server to the client. GraphQL-core-next has you also covered here, because it
7+
from the server to the client. GraphQL-core 3 has you also covered here, because it
88
implements the "Subscribe" algorithm described in the GraphQL spec. To execute a GraphQL
99
subscription, you must use the :func:`subscribe` method from the
1010
:mod:`graphql.subscription` module. Instead of a single ``ExecutionResult``, this
@@ -16,7 +16,7 @@ to the client (often realized via WebSockets) to push these results back.
1616
Other Usages
1717
------------
1818

19-
GraphQL-core-next provides many more low-level functions that can be used to work with
19+
GraphQL-core 3 provides many more low-level functions that can be used to work with
2020
GraphQL schemas and queries. We encourage you to explore the contents of the various
2121
:ref:`sub-packages`, particularly :mod:`graphql.utilities`, and to look into the source
2222
code and tests of `GraphQL-core 3`_ in order to find all the functionality that is

docs/usage/parser.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Parsing GraphQL Queries and Schema Notation
44
.. currentmodule:: graphql.language
55

66
When executing GraphQL queries, the first step that happens under the hood is parsing
7-
the query. But GraphQL-core-next also exposes the parser for direct usage via the
7+
the query. But GraphQL-core 3 also exposes the parser for direct usage via the
88
:func:`graphql.language.parse` function. When you pass this function a GraphQL source
99
code, it will be parsed and returned as a Document, i.e. an abstract syntax tree (AST)
1010
of :class:`graphql.language.Node` objects. The root node will be a

docs/usage/queries.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Now that we have defined the schema and breathed life into it with our resolver
77
functions, we can execute arbitrary query against the schema.
88

99
The :mod:`graphql` package provides the :func:`graphql.graphql` function to execute
10-
queries. This is the main feature of GraphQL-core-next.
10+
queries. This is the main feature of GraphQL-core.
1111

1212
Note however that this function is actually a coroutine intended to be used in
1313
asynchronous code running in an event loop.

docs/usage/schema.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ heroes from the Star Wars trilogy::
4242

4343
We have been using the so called GraphQL schema definition language (SDL) here to
4444
describe the schema. While it is also possible to build a schema directly from this
45-
notation using GraphQL-core-next, let's first create that schema manually by assembling
45+
notation using GraphQL-core 3, let's first create that schema manually by assembling
4646
the types defined here using Python classes, adding resolver functions written in Python
4747
for querying the data.
4848

@@ -109,8 +109,8 @@ Our schema also contains a ``Character`` interface. Here is how we build it::
109109
Note that we did not pass the dictionary of fields to the ``GraphQLInterfaceType``
110110
directly, but using a lambda function (a so-called "thunk"). This is necessary because
111111
the fields are referring back to the character interface that we are just defining.
112-
Whenever you have such recursive definitions in GraphQL-core-next, you need to use
113-
thunks. Otherwise, you can pass everything directly.
112+
Whenever you have such recursive definitions in GraphQL-core, you need to use thunks.
113+
Otherwise, you can pass everything directly.
114114

115115
Characters in the Star Wars trilogy are either humans or droids. So we define a
116116
``Human`` and a ``Droid`` type, which both implement the ``Character`` interface::

docs/usage/sdl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Using the Schema Definition Language
44
Above we defined the GraphQL schema as Python code, using the ``GraphQLSchema`` class
55
and other classes representing the various GraphQL types.
66

7-
GraphQL-core-next also provides a language-agnostic way of defining a GraphQL schema
7+
GraphQL-core 3 also provides a language-agnostic way of defining a GraphQL schema
88
using the GraphQL schema definition language (SDL) which is also part of the GraphQL
99
specification. To do this, we simply feed the SDL as a string to the
1010
:func:`graphql.utilities.build_schema` function::

0 commit comments

Comments
 (0)