query{
items
{
id
title
}
}
query {
lists(where: {id: {eq: 1} })
{
id
name
todoItems {
title
}
}
}
query{
lists(order: {name: DESC})
{
id
name
}
}
mutation{
addList(request: {
name: "Work"
})
{
list
{
name
}
}
}
mutation{
addItem(request: {
title: "Bring laptop",
description: "Bring the laptop with charger",
done: true,
todoListId: 1
})
{
item
{
id
title
}
}
}