Skip to content

Commit

Permalink
Fix incorrect graphql code block. Update graphql-validations-migratio…
Browse files Browse the repository at this point in the history
…n-guide.mdx
  • Loading branch information
Dimitri POSTOLOV authored Jan 15, 2024
1 parent 3b3662a commit 58b0af6
Showing 1 changed file with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,19 +368,17 @@ Also, a GraphQL field selection is only valid if the following is validated:
Here are a few examples of violations of these rules with the following Schema:

```graphql
schema {
type Image {
url: String!
}
type Image {
url: String!
}

type User {
id: ID!
avatar: Image!
}
type User {
id: ID!
avatar: Image!
}

type Query {
user: User!
}
type Query {
user: User!
}
```

Expand Down

0 comments on commit 58b0af6

Please sign in to comment.