Skip to content

Commit ae3447e

Browse files
committed
update seeding
1 parent 7763924 commit ae3447e

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

advanced/server/database/seed.graphql

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ mutation {
55
name: "Sarah"
66
posts: {
77
create: [{
8-
title: "Hello World"
9-
text: "This is my first blog post ever!"
8+
title: "Hello World 👋"
9+
text: "I like turtles."
1010
isPublished: true
1111
}, {
12-
title: "My Second Post"
13-
text: "My first post was good, but this one is better!"
12+
title: "Join us at GraphQL Europe 🇪🇺 "
13+
text: "Get a 10%-discount with this promo code on graphql-europe.org: gql-boilerplates"
1414
isPublished: true
1515
}, {
16-
title: "Solving World Hunger"
16+
title: "Solving world hunger"
1717
text: "This is a draft..."
1818
isPublished: false
1919
}]

basic/server/database/seed.graphql

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
mutation {
22
first: createPost(data: {
3-
title: "Hello World"
4-
text: "This is my first blog post ever!"
3+
title: "Hello World 👋"
4+
text: "I like turtles."
55
isPublished: true
66
}) {
77
id
88
}
99

1010
second: createPost(data: {
11-
title: "My Second Post"
12-
text: "My first post was good, but this one is better!"
11+
title: "Join us at GraphQL Europe 🇪🇺 "
12+
text: "Get a 10%-discount with this promo code on graphql-europe.org: gql-boilerplates"
1313
isPublished: true
1414
}) {
1515
id
1616
}
1717

1818
third: createPost(data: {
19-
title: "Solving World Hunger"
19+
title: "Solving world hunger"
2020
text: "This is a draft..."
2121
isPublished: false
2222
}) {

0 commit comments

Comments
 (0)