Skip to content

Commit 75dee8d

Browse files
author
Dimitri POSTOLOV
authored
Fix incorrect graphql code block. Update graphql-validations-migratio… (#580)
* Fix incorrect graphql code block. Update graphql-validations-migration-guide.mdx * Update graphql-validations-migration-guide.mdx
1 parent c494a9c commit 75dee8d

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

website/pages/en/release-notes/graphql-validations-migration-guide.mdx

+9-11
Original file line numberDiff line numberDiff line change
@@ -368,19 +368,17 @@ Also, a GraphQL field selection is only valid if the following is validated:
368368
Here are a few examples of violations of these rules with the following Schema:
369369

370370
```graphql
371-
schema {
372-
type Image {
373-
url: String!
374-
}
371+
type Image {
372+
url: String!
373+
}
375374

376-
type User {
377-
id: ID!
378-
avatar: Image!
379-
}
375+
type User {
376+
id: ID!
377+
avatar: Image!
378+
}
380379

381-
type Query {
382-
user: User!
383-
}
380+
type Query {
381+
user: User!
384382
}
385383
```
386384

0 commit comments

Comments
 (0)