Daniel K.
08/17/2017, 12:31 PMA function returned an unhandled error. Please check the logs for executionId 'eu-west-1simplecj6gf9f2ydk5g0156f63z90qh'can I actually check those logs somewhere? I don't see it anywhere 😞
matty
08/17/2017, 12:32 PMDaniel K.
08/17/2017, 12:33 PMmatty
08/17/2017, 12:33 PMmeikoudras
08/17/2017, 12:48 PMmeikoudras
08/17/2017, 12:49 PMmeikoudras
08/17/2017, 12:49 PMmeikoudras
08/17/2017, 12:49 PMsuchy
08/17/2017, 12:52 PMmatty
08/17/2017, 12:56 PMmatty
08/17/2017, 1:08 PMmatty
08/17/2017, 1:08 PMmatty
08/17/2017, 1:09 PMmatty
08/17/2017, 1:09 PMmatty
08/17/2017, 1:11 PMmatty
08/17/2017, 2:01 PM<mailto:my@email.com|my@email.com>|LI_TOKEN
Daniel K.
08/17/2017, 2:09 PMgraphcool-lib
that easily I see, the projectId/PAT is not coming in the event object and crashing when trying to use fromEvent
😞joao.santos
08/17/2017, 3:16 PMbobbyt
08/17/2017, 4:54 PMenum Role {
COACH
CLIENT
}
Which is referenced by a “roles” field in my User schema.
type User implements Node {
auth0UserId: String @isUnique
id: ID! @isUnique
name: String!
username: String
roles: [Role!]! @defaultValue(value: "[CLIENT]")
}
This basic user query works:
{
User(id: “abc123”) {
id
name
roles
}
}
This does not (I cannot include the enum field in my query to filter results):
{
User(id: “abc123”, *roles: [CLIENT]* ) {
id
name
roles
}
}
Adding “roles” to my query causes a syntax error. Any ideas how to include the enum field in my query? Thanks!spences10
08/17/2017, 5:26 PMspences10
08/17/2017, 5:32 PMagartha
08/17/2017, 5:54 PMcorey
08/17/2017, 6:49 PMcorey
08/17/2017, 6:49 PM// How I query for a single book
allBooks(last: 1, filter: {author: $author, title: $title}) {
id
otherStuff
}
// How I convert the returned array to a single book
const book = this.props.data.allBooks[0]
corey
08/17/2017, 6:50 PMtitle
isn’t unique I can’t just use Book
.corey
08/17/2017, 6:50 PMzaksingh
08/17/2017, 7:43 PMlastmjs
08/17/2017, 8:28 PMVariable '$input' expected value of type 'DeletePermanentAuthTokenInput!' but got: {"deletedId":"cj6gwd6s71v8c01101692retp"}. Reason: Unknown field 'deletedId' is not defined in the input type 'DeletePermanentAuthTokenInput'. (line 2, column 3): $input: DeletePermanentAuthTokenInput! ^
Daniel K.
08/17/2017, 8:43 PMgeorgelovegrove
08/17/2017, 8:50 PM