Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save webuxmotion/ea1c978901a304aa37afe28b2f7a8321 to your computer and use it in GitHub Desktop.
Save webuxmotion/ea1c978901a304aa37afe28b2f7a8321 to your computer and use it in GitHub Desktop.
subscription {
message(where:{
AND: [
{
mutation_in: CREATED
},
{
node: {
AND: [
{room:{ id:"ck80pns4pj6aq0934sxvc25sp"}}
{to:{ id:"ck7szn7dhcjnm0942a3ozq08b"}}
]
}
}
]
}) {
node {
id
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment