Skip to content

Commit

Permalink
Add: last snippes about introspection
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldanielecki committed Jun 19, 2024
1 parent c77cd8a commit cf9e103
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions _code/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,44 @@
}
```

#### Show even more information about Post

```graphql
{
__type(name: "Post") {
name
fields {
name
type {
name
kind
}
}
}
}
```

#### Show last introspection about Post

```graphql
{
__type(name: "Post") {
name
fields {
name
type {
name
kind
ofType {
name
kind
}
}
}
}
}
```

##### After that, show how `useDisableIntrospection()` works by simply uncommenting it and reloading the page.

### Circular Queries
Expand Down

0 comments on commit cf9e103

Please sign in to comment.