mirror of
https://github.com/FranP-code/countries.git
synced 2025-10-13 00:02:15 +00:00
Reorder again
This commit is contained in:
10
README.md
10
README.md
@@ -18,16 +18,12 @@ A public GraphQL API for information about countries, continents, and languages.
|
|||||||
2. The `country.continent` and `country.languages` are now objects and arrays of objects, respectively.
|
2. The `country.continent` and `country.languages` are now objects and arrays of objects, respectively.
|
||||||
3. Each `Country` has an array of `states` populated by their states/provinces, if any.
|
3. Each `Country` has an array of `states` populated by their states/provinces, if any.
|
||||||
|
|
||||||
- [Docs](#docs)
|
|
||||||
- [Writing queries](#writing-queries)
|
- [Writing queries](#writing-queries)
|
||||||
- [Migration notes (pre-March 2020)](#migration-notes-pre-march-2020)
|
- [Migration notes (pre-March 2020)](#migration-notes-pre-march-2020)
|
||||||
|
- [Docs](#docs)
|
||||||
- [Examples](#examples)
|
- [Examples](#examples)
|
||||||
- [License](#license)
|
- [License](#license)
|
||||||
|
|
||||||
## Docs
|
|
||||||
|
|
||||||
Check out [the playground](https://countries.trevorblades.com) to explore the schema and test out some queries.
|
|
||||||
|
|
||||||
## Writing queries
|
## Writing queries
|
||||||
|
|
||||||
```graphql
|
```graphql
|
||||||
@@ -80,6 +76,10 @@ In the first version of this API, `code` arguments were treated as `String`s. No
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Docs
|
||||||
|
|
||||||
|
Check out [the playground](https://countries.trevorblades.com) to explore the schema and test out some queries.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
- [React](./examples/react)
|
- [React](./examples/react)
|
||||||
|
|||||||
Reference in New Issue
Block a user