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
#580)

* Fix incorrect graphql code block. Update graphql-validations-migration-guide.mdx

* Update graphql-validations-migration-guide.mdx
  • Loading branch information
Dimitri POSTOLOV authored Jan 17, 2024
1 parent c494a9c commit 75dee8d
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 75dee8d

Please sign in to comment.