@@ -34,7 +34,7 @@ examples.
3434
3535## Getting started
3636
37- An overview of GraphQL in general is available in the
37+ A general overview of GraphQL is available in the
3838[ README] ( https://github.com/graphql/graphql-spec/blob/main/README.md ) for the
3939[ Specification for GraphQL] ( https://github.com/graphql/graphql-spec ) . That overview
4040describes a simple set of GraphQL examples that exist as [ tests] ( tests ) in this
@@ -46,20 +46,20 @@ README and the corresponding tests in parallel.
4646
4747GraphQL-core 3 can be installed from PyPI using the built-in pip command:
4848
49- python -m pip install " graphql-core>=3"
49+ python -m pip install graphql-core
5050
51- Alternatively, you can also use [ pipenv] ( https://docs.pipenv.org/ ) for installation in a
51+ You can also use [ pipenv] ( https://docs.pipenv.org/ ) for installation in a
5252virtual environment:
5353
54- pipenv install " graphql-core>=3"
54+ pipenv install graphql-core
5555
5656
5757## Usage
5858
59- GraphQL-core provides two important capabilities: building a type schema, and
59+ GraphQL-core provides two important capabilities: building a type schema and
6060serving queries against that type schema.
6161
62- First, build a GraphQL type schema which maps to your code base :
62+ First, build a GraphQL type schema which maps to your codebase :
6363
6464``` python
6565from graphql import (
@@ -75,7 +75,7 @@ schema = GraphQLSchema(
7575 }))
7676```
7777
78- This defines a simple schema with one type and one field, that resolves to a fixed
78+ This defines a simple schema, with one type and one field, that resolves to a fixed
7979value. The ` resolve ` function can return a value, a co-routine object or a list of
8080these. It takes two positional arguments; the first one provides the root or the
8181resolved parent field, the second one provides a ` GraphQLResolveInfo ` object which
@@ -89,7 +89,7 @@ where the context is passed separately and arguments are passed as a single obje
8989Also note that GraphQL fields must be passed as a ` GraphQLField ` object explicitly.
9090Similarly, GraphQL arguments must be passed as ` GraphQLArgument ` objects.
9191
92- A more complex example is included in the top level [ tests] ( tests ) directory.
92+ A more complex example is included in the top- level [ tests] ( tests ) directory.
9393
9494Then, serve the result of a query against that type schema.
9595
0 commit comments