Skip to content

Commit 081c6a2

Browse files
author
Mateu Aguiló Bosch
committed
docs: minor improvements to the directive examples
1 parent 5cae4f2 commit 081c6a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.emdaer/docs/directive.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ This includes all the nested relationships at all levels. This leaves everything
88
fields for the response.
99

1010
### Examples
11+
Imagine you have these top level fields in your GraphQL query.
1112

1213
```graphql
1314
type Query {
@@ -27,7 +28,8 @@ fields for the response.
2728
```
2829

2930
Note how you can specify a templated URL with variables. The replacement value for these variables will be specified in
30-
the query. For instance see how the `{authorName}` value is provided in the GraphQL query below:
31+
the query. For instance see how the `{authorName}` value is provided when the front-end is querying the GraphQL server
32+
like:
3133

3234
```
3335
curl -X GET \

0 commit comments

Comments
 (0)