witek
09/09/2017, 2:52 PMPieter
09/09/2017, 3:00 PMLastSeen
or OnlineStatus
on users?Aren Hovsepyan
09/09/2017, 9:24 PMAren Hovsepyan
09/09/2017, 9:24 PMAren Hovsepyan
09/09/2017, 9:24 PMAren Hovsepyan
09/09/2017, 9:25 PMbe4r
09/10/2017, 12:52 AMCard
with a rating from a user, we would also like to store the average of the ratings. How can we update the average dynamically so that the average is updated on any createRating
or updateRating
mutations?be4r
09/10/2017, 12:52 AManton-b
09/10/2017, 1:55 AM/
and /authenticate
- if the user tries to access /
without being authenticated, they will be redirected to /authenticate
this works from Chrome on my mac and in iOS. However, I can't access /authenticate
directly from iOS, then I get a 404, while it still works fine in Chrome.anton-b
09/10/2017, 1:59 AManton-b
09/10/2017, 1:59 AMFred G
09/10/2017, 10:15 AMFred G
09/10/2017, 10:16 AMPieter
09/10/2017, 11:58 AMBoris Henné
09/10/2017, 7:03 PMameistad
09/10/2017, 9:12 PMkarolis
09/10/2017, 10:52 PMbe4r
09/11/2017, 12:05 AMVote
on client side. I also have a small server that is subscribed to Vote
create/update which then calculates the average into Rating
. Client side runs the update/create Vote
then refetches Rating
. Server listens to the update/create and then updates the Rating
. However, since I believe the refetch is happening before or in parallel to my service, the client side refetch is still displaying the old Rating
. Does anyone have recommendations on how to tackle this?Daniel K.
09/11/2017, 9:43 AMwitek
09/11/2017, 11:34 AMfreddie-codogo
09/11/2017, 11:36 AMinclude
and skip
be used to conditionally execute mutations?claudio.rocha
09/11/2017, 1:24 PMnpm install -g graphcool
), but can't run any graphcool command, Ubuntu says "zsh: command not found: graphcool". Do I need to setup any env. variable?panzupa
09/11/2017, 3:24 PMfreddie-codogo
09/11/2017, 4:47 PMquery {
SomeModuleExists
}
and I'm still getting Insufficient permissions for this mutation
errors, any idea what's going on?Jhony Reyes
09/11/2017, 5:21 PMagartha
09/11/2017, 5:26 PMwitek
09/11/2017, 5:42 PMwindkomo
09/11/2017, 8:19 PMLimitations
paragraph from https://www.graph.cool/docs/reference/simple-api/filtering-by-field-xookaexai0
I’ve made a many to many relation linking Item
and Tag
.
I want to keep items that have the “tag1” and “tag2", is something like this possible ?
allItems(
filter: {
AND: [{
tags_every: {
key: "tag1"
}
}, {
tags_every: {
key: "tag2"
}
}]
}) {
id
tags {
key
}
}
windkomo
09/11/2017, 8:20 PMDaniel K.
09/11/2017, 9:05 PMInsufficient Permission
(I have permissions set to require authentication)
I have subscription client initialized like this
const wsClient = new SubscriptionClient(ENDPOINT_SUBSCRIPTIONS, {
reconnect: true,
timeout: 30000,
connectionParams() {
if (authStore.authUser) {
return { authToken: authStore.authUser.token }
}
return null
},
})
However, the function is called once at the start of my app when I don't have token yet