aflatter
05/29/2017, 9:32 AMppatidar
05/29/2017, 9:44 AMgargoris
05/29/2017, 11:20 AMakadop
05/29/2017, 11:42 AMsyuraj
05/29/2017, 12:23 PMuser
05/29/2017, 12:24 PMhttps://prisma.slack.com/files/U5KDMF4JZ/F5K8PEU6P/image.png▾
ppatidar
05/29/2017, 12:46 PMnotrab
05/29/2017, 2:00 PMfetch
library to do a simple POST to get data, is this supported? I’m receiving the following error
The request's Content-Type is not supported. Expected:
application/json
notrab
05/29/2017, 2:01 PMcheckmatez
05/29/2017, 2:29 PMsdubois
05/29/2017, 4:53 PMsebastien
05/29/2017, 6:02 PMryanwarner
05/29/2017, 6:44 PMget-graphql-schema
to get my full schema? It seems like the schema I export from the GUI is largely incomplete.
2. Using the email auth integration, how do I create and signin a user all in one roundtrip? I see that some new mutations were generated (createUser
and signinUser
) but no out of the box way to avoid 2 round trips. Can I create a custom mutation to do this?joar
05/29/2017, 7:26 PMjoar
05/29/2017, 7:28 PMquery {
allUsers(filter: {
_postsMeta: {
count_gt: 0
}
})
}
userzach
05/29/2017, 7:45 PMmutation($varID: ID!, $varSteps:[String!]) {
updateGoalDoc(id: $varID, steps: $varSteps){
goal
steps
id
}
}
userzach
05/29/2017, 7:48 PMVariables : {"varID": "cj3adqiao2c5d0107yjvsq5jw",
"varSteps": ["The Very Last Step"]}
kudlajz
05/29/2017, 8:30 PMBrand
and Item
. Item
can only contain one Brand
, where as Brand
can have n Items
. When creating an Item
, Brand
can be selected. Do I have to first create new Item
and then run another mutation and add Item
to Brand
?kudlajz
05/29/2017, 8:32 PMaddToItemOnBrand(itemsItemId: ID!, brandBrandId: ID!)
.. I would expect something like addItemToBrand
or something like that.. 😄 and the mutation arguments are named really strangely too.nilan
05/30/2017, 8:38 AM2ne
05/30/2017, 9:49 AMbarbatus
05/30/2017, 10:02 AMreturn {data: event.data}
it throws Whoops. Looks like an internal server error
every timeguillaume_ti
05/30/2017, 11:05 AMquery ($engageInPact_id: ID!, $user_id: ID!, $participantsUser_id: ID!) {
SomeUserExists(filter:{
AND: [
{id:$user_id}
{id:$participantsUser_id}
]
})
SomePactExists(filter: {
AND: [
{id:$engageInPact_id}
{OR:[
{public:true}
{viewerUsers_some: {id: $user_id} }
{viewerGroups_some:{ users_some: {id: $user_id}} }
]}
]
})
}
It seems to be a OR ?artyom
05/30/2017, 11:59 AMgollyjer
05/30/2017, 12:46 PMartyom
05/30/2017, 1:55 PMrachid-sahil
05/30/2017, 1:58 PMppatidar
05/30/2017, 2:02 PMderbingle
05/30/2017, 2:05 PMsylver
05/30/2017, 2:25 PM