Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR committed Sep 25, 2024
1 parent 36920bb commit 6b4efd3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions spec/Section 4 -- Introspection.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,38 @@ would produce the result:
}
```

Similarly, a request containing the operation:

```graphql example
{
__directive(name: "skip") {
name
arguments {
name
type {
name
}
}
}
}
```

would produce the result:

```json example
{
"__directive": {
"name": "skip",
"arguments": [
{
"name": "if",
"type": { "name": "Boolean" }
}
]
}
}
```

**Reserved Names**

Types and fields required by the GraphQL introspection system that are used in
Expand Down

0 comments on commit 6b4efd3

Please sign in to comment.