phil
01/16/2017, 9:10 AMmutation CreateTeamAndMember {
createTeam(name: "My Team", members: [{ userId: "cixxvdfjydsja0137xu2efklp" }]) {
id
members {
id
team {
id
}
user {
id
email
}
}
}
}phil
01/16/2017, 9:10 AMphil
01/16/2017, 9:10 AM{
"data": {
"createTeam": {
"id": "cixzvd36h73df01343oncu0e9",
"members": [
{
"id": "cixzvd36i73di0134z528wvk5",
"team": {
"id": "cixzvd36h73df01343oncu0e9"
},
"user": null
}
]
}
}
}phil
01/16/2017, 9:10 AMnullnilan
01/16/2017, 9:11 AMphil
01/16/2017, 9:12 AMphil
01/16/2017, 9:13 AMTeamMembership schema looks like this:phil
01/16/2017, 9:13 AMnilan
01/16/2017, 9:15 AMphil
01/16/2017, 9:16 AMkarol.wons
01/16/2017, 9:19 AMstatic fragments = {...} in CreatePokemonMutation? this mutation works perfectly fine without it (and without adding this fragment into PokemonPage container). I'm just curious ๐
btw. it's a great tutorial !!! really helped me with understanding relay concept ๐nilan
01/16/2017, 9:23 AMstatic fragments thing here: https://facebook.github.io/relay/docs/api-reference-relay-mutation.html#fragments-static-propertynilan
01/16/2017, 9:24 AMoptimisticResponse for example, then you can define them with static fragments ๐karol.wons
01/16/2017, 9:25 AMpeeter
01/16/2017, 3:33 PMnilan
01/16/2017, 3:33 PMpeeter
01/16/2017, 3:34 PMpeeter
01/16/2017, 3:34 PMpeeter
01/16/2017, 3:34 PMpeeter
01/16/2017, 3:35 PMnilan
01/16/2017, 3:36 PMpeeter
01/16/2017, 3:36 PMgopidon
01/16/2017, 6:49 PMnilan
01/16/2017, 6:50 PMsdubois
01/16/2017, 7:09 PMnilan
01/16/2017, 7:20 PMmartin
01/17/2017, 1:44 AMgraph.cool account registering with my company email, but upon login received the following error message:
Whoops. Looks like an internal server error. Please contact us in Slack (<https://slack.graph.cool>) and send us your Request ID: ciy0uvgrf05bj0196i1ggp4ir
Possibly because I also have another graph.cool account through my GitHub and once also had had my company email associated to it.malone
01/17/2017, 2:24 AM<http://example.com|example.com> community)
Is there an easy way to do this with graph.cool, or should I try and figure something else out with Auth0?monkeybonkey
01/17/2017, 3:10 AMmonkeybonkey
01/17/2017, 3:11 AM