visualbbasic
06/16/2017, 6:37 AMqsys
06/16/2017, 12:55 PMtomhut
06/16/2017, 12:57 PMqsys
06/16/2017, 12:57 PMtomhut
06/16/2017, 12:58 PMqsys
06/16/2017, 12:59 PMtomhut
06/16/2017, 1:01 PMsorenbs
agartha
06/16/2017, 1:31 PMagartha
06/16/2017, 1:33 PMsorenbs
Slackbot
06/16/2017, 4:22 PMckelley
06/16/2017, 4:54 PMcreateUser
mutation, why are both the email
and password
nested inside another email
object? https://www.graph.cool/docs/reference/simple-api/user-authentication-eixu9osueb/be4r
06/16/2017, 5:19 PMquery userQuery {
user {
id
}
}
wouldnt this query just return a list of userIds?derbingle
06/16/2017, 5:26 PMjlc467
06/16/2017, 7:00 PMmutation {
createPost(
postText: "awesome post"
userId: getUserId('<mailto:email@gmail.com|email@gmail.com>')
)
}
martin
06/16/2017, 7:36 PM"returnValue":{"rawResponse":{}}}
Might anyone know why?
Code:
const cloudinary = require('cloudinary@1.2.1')
module.exports = function (event) {
cloudinary.config({
cloud_name: '___CLOUD_NAME___',
api_key: '___API_KEY___,
api_secret: '___API_SECRET___'
})
console.log('Received event')
cloudinary.uploader.upload(event.data.UserAvatar.node.file.url, (result) => {
console.log(result)
})
}
Referring to console.log(result)
at end. cloudinary
receives images alright. But I don’t seem to be receiving a response. And inserting return result
also doesn’t appear to work.ckelley
06/16/2017, 8:54 PMTRANSFORM_REQUEST
function. I let the client to choose an interval
(in days), then on the server I take that interval and add that many days to the current date. I'm getting an internal server error response on Apollo client. It looks like the interval
property is being converted from Int -> String, but I'm not doing that and manually adding a parseInt() before the response doesn't help either. Any ideas?lastmjs
06/16/2017, 8:56 PMWebSocket connection to '<wss://subscriptions.graph.cool/v1/cj36de9q4dem00134bhkwm44r>' failed: Connection closed before receiving a handshake response
user
06/16/2017, 9:02 PM{
"data": {
"createdAt": "2017-06-16T20:55:24.330Z",
"id": "cj40c2lyi00003e64pd2d87dc",
"interval": 5,
"type": "DEFAULT",
"updatedAt": "2017-06-16T20:55:24.330Z"
},
"context": {
"headers": {}
}
}
Return value:
{
"createdAt": "2017-06-16T20:55:24.330Z",
"id": "cj40c2lyi00003e64pd2d87dc",
"interval": 5,
"type": "DEFAULT",
"updatedAt": "2017-06-16T20:55:24.330Z",
"referenceDate": "2017-06-16T21:00:28.030Z",
"notifyDate": "2017-06-21T21:00:28.030Z"
}
nilan
06/16/2017, 9:47 PMabers
06/17/2017, 12:40 AMabers
06/17/2017, 12:41 AMabers
06/17/2017, 12:41 AMmike.johnson
06/17/2017, 3:19 AMrkrk
06/17/2017, 9:18 AMvisualbbasic
06/17/2017, 10:01 AMvisualbbasic
06/17/2017, 10:03 AMclass Viewer(graphene.ObjectType):
yo= relay.Node.Field(YoNode)
all_yos= relay.ConnectionField(YoNode)
@graphene.resolve_only_args
def resolve_all_yos(self):
return models.Yo.objects.all()
class Query(graphene.ObjectType):
viewer = graphene.Field(lambda: Query)
node = Node.Field()
debug = graphene.Field(DjangoDebug, name='__debug')
visualbbasic
06/17/2017, 10:04 AMvisualbbasic
06/17/2017, 10:04 AM