Sergey
07/26/2017, 8:41 AMhvillain
07/26/2017, 10:24 AMq666
07/26/2017, 11:43 AMq666
07/26/2017, 12:02 PMpicosam
07/26/2017, 3:54 PMType
called Absence
containing fields startDate
and endDate
. Let’s say every User
has multiple absence periods (one-to-many relation). If I want to query for the User
availability, what’s the filter I should give? So, I want a query
that would only return available `User`s between a given start date and a given end date (input variables), by looking at their related `Absence`s. I hope that make sense? (https://www.graph.cool/forum/t/filtering-by-datetime-range/391)fredelf
07/26/2017, 3:55 PMtypaza
07/26/2017, 4:05 PMkosai106
07/26/2017, 4:28 PMpeterp
07/26/2017, 5:13 PMcurrent user
(passing in auth header) can I run a updateUser
mutation w/o passing in the id?peterp
07/26/2017, 5:13 PMmutation {
updateUser(firstName:"Peter", lastName:"P") {
id
}
}
peterp
07/26/2017, 5:14 PMauser
07/26/2017, 5:21 PMcontact
type is required for the createContactMessage
mutation to succeed. Is it possible to both create the contact and the contact message in a single query?auser
07/26/2017, 5:22 PMpeterp
07/26/2017, 5:50 PMauser
07/26/2017, 5:51 PMdankent
07/26/2017, 6:32 PMdankent
07/26/2017, 6:32 PMauser
07/26/2017, 6:33 PMdankent
07/26/2017, 6:36 PMauser
07/26/2017, 6:37 PMdankent
07/26/2017, 6:40 PMdankent
07/26/2017, 6:40 PMdankent
07/26/2017, 6:41 PMdankent
07/26/2017, 6:43 PMjustinrich
07/26/2017, 7:17 PMjustinrich
07/26/2017, 7:17 PMmartin
07/26/2017, 8:00 PMschema extension
inline function returns an error via Promise.reject
there appears to be no way to perform error handling on the client side. Am I correct?
For example, the catch()
doesn’t seem to work:
this.props.updateEmail({ variables: { email, password, newEmail } })
.then(id => {
console.log('success')
})
.catch(err => {
console.log(err)
})
schickling
07/26/2017, 8:06 PMdvarjun
07/26/2017, 9:57 PMdvarjun
07/26/2017, 9:57 PM