harmony
01/18/2018, 3:25 PMtini2n
01/18/2018, 3:27 PMtini2n
01/18/2018, 3:28 PMmike.johnson
01/18/2018, 4:02 PMquery { User(id: $userId)
). Does this mean I need to create resolvers for each query instead of directly querying in the front end?harrisrobin
01/18/2018, 4:47 PMjohnkpaul
01/18/2018, 5:09 PMEmi
01/18/2018, 6:34 PMjohnkpaul
01/18/2018, 6:40 PMyuri
01/18/2018, 6:45 PMyuri
01/18/2018, 6:46 PMyuri
01/18/2018, 6:46 PMbobbyt
01/18/2018, 8:49 PM{
user {
id
name
_chatMessagesMeta(filter: { readBy_none: { id: [** this authenticated user’s ID **] }} ) {
count
}
}
}
user
is an authenticated query, but need to pass that user's id to the _chatMessagesMeta
subquery. Thanks in advance!harmony
01/18/2018, 8:52 PMharmony
01/18/2018, 8:52 PMbobbyt
01/18/2018, 8:53 PMharmony
01/18/2018, 8:54 PMsteven
01/18/2018, 9:03 PMbobbyt
01/18/2018, 9:28 PMdrdaz
01/18/2018, 9:46 PMlogan
01/18/2018, 9:53 PMsubscriptions
? The graphql-yoga/subscriptions
example works, but doesn’t hook to any Types. https://github.com/graphcool/graphql-yoga/tree/master/examples/subscriptionsjoelanglois
01/18/2018, 9:57 PMmatty
01/19/2018, 12:29 AMaurnik
01/19/2018, 1:10 AMenternode
01/19/2018, 1:15 AMenternode
01/19/2018, 1:16 AMiamclaytonray
01/19/2018, 2:09 AMoxyoxy88
01/19/2018, 3:38 AMoxyoxy88
01/19/2018, 4:14 AMFi1osof
01/19/2018, 5:49 AMfranky47
01/19/2018, 7:50 AM