stearm
12/22/2017, 7:23 PMTask
must have a User
. How can I achieve this?stearm
12/22/2017, 7:25 PMTask
and User
with a unique key (task_id
, user_id
)brad.barnes
12/22/2017, 7:26 PMstearm
12/22/2017, 7:27 PMtasks
has the wrong format: [Task]
Possible Formats: Task
, Task!
, [Task!]!
brad.barnes
12/22/2017, 7:30 PMstearm
12/22/2017, 7:32 PMstearm
12/22/2017, 7:32 PMmutation {
createTask(
title: "Example title",
description: "Example description"
effortId: "cjbiafzl81e2c01740pknv81w"
) {
id
}
}
stearm
12/22/2017, 7:32 PMThe field 'assignee' on type 'Task' is required. Performing this mutation would violate the constraint
brad.barnes
12/22/2017, 7:34 PMstearm
12/22/2017, 7:35 PMradicand
12/22/2017, 7:37 PMassignee: User! @relation(name: "UserTasks")
=> assignee: User @relation(name: "UserTasks")
?stearm
12/22/2017, 7:38 PMstearm
12/22/2017, 7:38 PMstearm
12/22/2017, 7:39 PMno connect permission
😮nilan
12/22/2017, 9:15 PM0.11
has been renamed to graphcool-framework
and comes with data import and export: https://github.com/graphcool/framework/releases/tag/0.11.4
The Graphcool 1.0 developer preview enters stage beta2
and is using the name graphcool
going forward. It comes with features such as data import and export, improved nested mutations, delete/updateMany and more: https://github.com/graphcool/framework/pull/1318#issuecomment-353673128
Go check it out and let us know what you think 🙌brad.barnes
12/22/2017, 9:18 PMaurnik
12/22/2017, 10:00 PMaurnik
12/22/2017, 10:00 PMaurnik
12/22/2017, 10:00 PMsenorcodecat
12/22/2017, 11:24 PMphil
12/23/2017, 12:24 AMsean
12/23/2017, 12:59 AMnpm install graphcool -g
graphcool init
zsh: command not found: graphcoolsean
12/23/2017, 12:59 AMzacharyrs
12/23/2017, 1:03 AMzacharyrs
12/23/2017, 1:04 AMsean
12/23/2017, 1:05 AMsean
12/23/2017, 1:06 AMsean
12/23/2017, 1:06 AMzacharyrs
12/23/2017, 1:10 AMzacharyrs
12/23/2017, 1:11 AM