dardub
09/14/2017, 11:50 PMdoug_w
09/14/2017, 11:50 PMapollo-client
to `redux-logic`… match made in heavenplarson
09/14/2017, 11:58 PMplarson
09/14/2017, 11:58 PMrvespula
09/15/2017, 12:00 AM{
"data": {
"deleteFile": null
},
"errors": [
{
"message": "Whoops. Looks like an internal server error. Please contact us from the Console (<https://console.graph.cool>) or via email (support@graph.cool) and include your Request ID: us-west-2:simple:cj7l4a9698u1q0102z8pcqokz",
"requestId": "us-west-2:simple:cj7l4a9698u1q0102z8pcqokz",
"path": [
"deleteFile"
],
"locations": [
{
"line": 2,
"column": 3
}
]
}
]
}
florian
09/15/2017, 1:44 AMcoffenbacher
09/15/2017, 2:57 AMApollo(Apollo(Apollo(Apollo(Apollo(Apollo(Apollo(Apollo(Apollo(Apollo(...)))))))))
?? 😆 although that makes sense to me how that could happen with the function composition, I hope I'm doing something wrongeleazar
09/15/2017, 3:58 AMi'm currently doing this in 2 steps, createUser -> signinUser
- And how do i get a “JWT token” using GraphCool’s API? okay i got the token after calling the signinUser mutation, stupid question.
- Is this “token” a “String?” ? another stupid question, pardon me, please ignore
- Where do i store this “token”? UserDefaults?
- How do i reference it again using Swift 3/4 in code to authorise things like a “create post” mutation? i'm guessing to retrieve the token from local storage and passing it with the mutation?
- How do i check if this token is still valid?
I was trying to find some reference online on this as its totally new to me and i’m trying to learn as much as i can but i cant seem to find any iOS GraphQL code examples. I’m trying to stay away from auth0 at the moment as I read there are some people talking about problems with using it in iOS clients. Or should I just use auth0? 😂cnickeson
09/15/2017, 6:18 AMmatty
09/15/2017, 9:03 AMkylet1994
09/15/2017, 10:16 AMmatty
09/15/2017, 10:56 AMscolab.andre
09/15/2017, 12:49 PMdanny
09/15/2017, 1:03 PMllo
09/15/2017, 1:10 PMeder
09/15/2017, 2:00 PMjohhansantana
09/15/2017, 2:28 PMkarafizi.arthur
09/15/2017, 2:35 PMRippo
09/15/2017, 4:19 PMchrome --remote-debugging-port=9222 --disable-gpu --headless
My question is how do i shut it down?pnicolaou
09/15/2017, 6:32 PMpnicolaou
09/15/2017, 6:34 PMaurnik
09/15/2017, 7:53 PMmerott
09/15/2017, 8:00 PMaurnik
09/15/2017, 8:03 PMwindkomo
09/15/2017, 10:12 PMallItems(filter: {
OR: [{ price_gte: 50 }, { location: { placeId: $placeId } } ]
})
I want to apply the location filter only if $placeId
has a valuegeorgelovegrove
09/16/2017, 10:01 AMdanny
09/16/2017, 10:44 AMmikedklein
09/16/2017, 1:58 PMsebd
09/16/2017, 3:50 PMquery permitViewDocuments($user_id: ID!) {
SomeUserExists(filter: {
id: $user_id
role: ADMIN
})
}
but instead of 'role' I'm using an enum I defined called userType, and I'm getting an error message saying userType is unknown field...pnicolaou
09/16/2017, 3:52 PM