Skip to content

Commit 95a07a4

Browse files
author
jeniffer9
authored
Update README.md
1 parent 2940cc0 commit 95a07a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,11 +350,11 @@ import { jsonToGraphQLQuery } from 'json-to-graphql-query';
350350
const query = {
351351
query: {
352352
Posts: {
353+
title: true
353354
__on: {
354355
__fragmentName: "ConfigurablePost",
355356
id: true
356-
},
357-
title: true
357+
}
358358
}
359359
}
360360
};
@@ -366,10 +366,10 @@ Resulting `graphql_query`
366366
```graphql
367367
query {
368368
Posts {
369+
title
369370
... on ConfigurablePost {
370371
id
371372
}
372-
title
373373
}
374374
}
375375
```

0 commit comments

Comments
 (0)