lastmjs
08/26/2017, 9:54 PMjoao.santos
08/27/2017, 10:11 AMhalborg
08/27/2017, 12:21 PMalechp
08/27/2017, 3:32 PMmatthewhager
08/27/2017, 4:13 PMjoar
08/27/2017, 4:37 PMcj
08/27/2017, 5:29 PMpicosam
08/27/2017, 6:14 PMwatchQuery
returns an Observable
. Without subscribing to that Observable
, is there a way to know that fetching has been completed? I’m trying to use myObs$.currentResult()
but that’s giving me a TypeError: this.getObservableQuery(...) is undefined
matty
08/28/2017, 2:12 AMmatty
08/28/2017, 2:51 AMexamp1e
08/28/2017, 9:34 AM4 objects
. Each represents module (1..4). On select change
I want to mutate one of this object/module and on save
button put the whole array to the server.
The problem is that Apollo Query
makes the object frozen
. And it contains __typename
fields which I want to get rid of.
Maybe someone knows how to handle that.examp1e
08/28/2017, 9:36 AMgauravkaushik
08/28/2017, 10:19 AMrajit
08/28/2017, 11:07 AMTypeError: Cannot read property 'graphcool' of undefined
when trying to use require('graphcool-lib').fromEvent
in functions.
I've created a PAT with the same name as the function, but I thought the event.context
would always be added anywayrajit
08/28/2017, 11:11 AMmuphet
08/28/2017, 11:39 AMtype user implements Node {
createdAt: ...
id: ...
posts: [Post]}
but i get response that relation is not set blah blahuser
08/28/2017, 11:59 AMhttps://prisma.slack.com/files/U6VJ7N8P9/F6UKSHLUV/ui.png▾
examp1e
08/28/2017, 12:00 PMuser
08/28/2017, 12:16 PMhttps://prisma.slack.com/files/U6VJ7N8P9/F6UKSHLUV/ui.png▾
wesbos
08/28/2017, 2:39 PMwesbos
08/28/2017, 2:43 PMwesbos
08/28/2017, 2:43 PMquery {
_allItemsMeta {
count
}
}
zth
08/28/2017, 2:58 PMzth
08/28/2017, 2:59 PMwesbos
08/28/2017, 3:16 PMwesbos
08/28/2017, 3:25 PMwesbos
08/28/2017, 3:25 PMvalid
08/28/2017, 4:58 PMconsole.log(this.props.data.user)
is null -- is there something I need to/can do to 'wait' for graphql to finish the query before processing?valid
08/28/2017, 4:59 PMvalid
08/28/2017, 5:05 PMundefined