visualbbasic
06/26/2017, 5:51 AMvisualbbasic
06/26/2017, 5:51 AMjoshmadewell
06/26/2017, 6:59 AMjoshmadewell
06/26/2017, 6:59 AMjoshmadewell
06/26/2017, 7:00 AMyus
06/26/2017, 7:31 AMyus
06/26/2017, 7:32 AMandyblack
06/26/2017, 7:36 AMquery userById ($match.id: String!) { ... }
but get an error that it doesn't like the dotlefevre
06/26/2017, 7:50 AMquery ReportingContainerQuery {
viewer {
...MainList_items
}
}
This is the part i want to expand with the following (But formatted as a fragment inside the React-native component which is going to use it):
query {
__type(name:"[ENUM_NAME]") {
enumValues{
name
}
}
}
Hope that made sense. 🙂user
06/26/2017, 8:20 AMAuthorization
headerfredibach
06/26/2017, 11:56 AMpicosam
06/26/2017, 12:40 PMUser
statuses, the last node created being the current status. Within a different query, I’m trying to find out the count of users that have a status of OK
. Here’s what I’m trying:
_allUsersMeta(filter: {statusHistory_some: {status: OK}}) { count }
The problem with this is that, at any point in history, if the user was marked as OK
, this will return true. So how do I order by createdAt_DESC
and make sure I only have the first: 1
value, that is the latest status of the user?gojutin
06/26/2017, 1:57 PMgeirman
06/26/2017, 2:48 PMgeirman
06/26/2017, 2:51 PMgeirman
06/26/2017, 2:53 PMgeirman
06/26/2017, 3:07 PMszlangini
06/26/2017, 3:46 PMszlangini
06/26/2017, 3:46 PMszlangini
06/26/2017, 3:47 PMkgoggin
06/26/2017, 8:56 PMjasonbahl
06/26/2017, 9:58 PMyus
06/26/2017, 10:02 PMyus
06/26/2017, 10:03 PMagartha
06/27/2017, 12:41 AMbe4r
06/27/2017, 3:56 AMbe4r
06/27/2017, 3:56 AMbe4r
06/27/2017, 3:56 AMppanagi
06/27/2017, 5:46 AM'viewerId' is not defined
error:
https://puu.sh/wvkiM/79223c4be9.png▾
florian
06/27/2017, 8:37 AMreact-apollo
and have been able to sucessfully create a signUp / signIn flow with Auth0 and graphcool. I have multiple components scattered around my app querying the user endpoint, is there a recommended way on how to relaunch those queries when an authenticated event is triggered ? (Right now I'm reloading the whole page)