nish
04/22/2017, 3:58 PMnilan
04/22/2017, 3:59 PMnish
04/22/2017, 3:59 PMartyom
04/22/2017, 4:19 PMartyom
04/22/2017, 7:43 PMartyom
04/22/2017, 10:05 PMphil
04/23/2017, 6:27 AMHS256
). The error is
The provided idToken is invalid
When creating a new user. This was working before, I heard there was some issue with Auth0 and RS256
not working with graph.cool. Any ideas?.phil
04/23/2017, 6:30 AMmutation CreateUser ($idToken: String!, $email: String!, $picture: String!){
createUser(
authProvider: {auth0: { idToken: $idToken }},
email: $email,
picture: $picture,
) {
id
}
}
phil
04/23/2017, 6:31 AMeyJ0eXAiOiJKV1QiLCJhbGcieiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3RlYW1kYidXRoMC5jb20vIiwic3ViIjoiZW1haWx8NTg3MzEwMmI5ODQyMGY5YTExYjllMjAxIiwiYXVkIjoiOGwwdUN0QWFLcWdrZ1M5ZllJREpMMDJGNml4Z3poZk8iLCJleHAiOjE0OTI5NjQ1MTYsImlqdCI6MTQ5MjkyODUxNn0.87U7EmyFUWSxMWTKSNJY6J6cyZojG9XxrPFCZbbqMQW
sdubois
04/23/2017, 10:39 AMartyom
04/23/2017, 5:01 PMnotrab
04/23/2017, 5:57 PMreturn new Promise((resolve, reject) => {
_this.aggregate([
{$match: {url}},
{$group: {
_id: "$emoji",
count: {$sum: 1},
ips: {$push: "$ip"}
}},
{$project: {
_id: 0,
emoji: "$_id",
count: 1,
reacted: {
$setIsSubset: [[ip], "$ips" ]
}
}}
], (err, result) => {
if (err) return reject(err)
resolve(result)
})
patrickj
04/23/2017, 10:58 PMazimuth3d
04/24/2017, 7:12 AMartyom
04/24/2017, 8:14 AMakadop
04/24/2017, 9:20 AMakadop
04/24/2017, 9:43 AMakadop
04/24/2017, 9:43 AMartyom
04/24/2017, 10:07 AMkristinn
04/24/2017, 10:38 AMmutation addTodo($todo: AddTodoItem!) {
createTodo(todo: todo) { id }
}
The AddTodoItem is:
AddTodoItem: {
text: String!,
dates: TodoDates!
}
And TodoDates is:
TodoDates: {
created: String!,
completed: String
}
rockchalkwushock
04/24/2017, 2:33 PMgraphql
server with graphql-relay
integrated?rockchalkwushock
04/24/2017, 2:34 PMrelay
can communicate with.barbatus
04/24/2017, 3:38 PMuser->-order->shipAddress
,
all entries are created in the DB correctly except one thing: shipAddress’s ID in the order is always null. While I if create
order directly with the shipAddress, e.g., order->shipAddress
, shipAddress’s ID is always updated correctly in the order.
Is it intentionally or do I miss anything?lucfranken
04/24/2017, 4:11 PMmutation {
updateItemType(
id:"cj1nldl3fqvz50122qxrnqd99"
name:"test"
itemTypeLine: [
{
id: "cj1wbh8ycv3zm0165nz5de0q3" <--- when removed it creates a new one but I want the existing resource
amount: 5
}
]
) {
id
name
itemTypeLine {
id
amount
}
}
}
artyom
04/24/2017, 4:16 PMartyom
04/24/2017, 6:27 PMlucfranken
04/24/2017, 6:48 PMlucfranken
04/24/2017, 6:50 PMpatrickj
04/24/2017, 7:31 PMgrimborg
04/24/2017, 7:49 PM