warchantua
01/06/2019, 11:15 PMxiaoqf10
01/07/2019, 2:19 AMZain
01/07/2019, 6:57 AMZain
01/07/2019, 6:57 AMZain
01/07/2019, 6:58 AMtylim
01/07/2019, 12:02 PMtylim
01/07/2019, 12:02 PMwarchantua
01/07/2019, 3:42 PMschema.graphql
as typeDefs: '<path to schema.graphql>'
Jidé
01/07/2019, 5:02 PMmistereo
01/07/2019, 5:18 PMpurrado
01/07/2019, 6:50 PMgraphql-yoga
to serve two different GraphQL endpoints on the same port? Something like localhost:4000/api
& localhost:4000/admin
?Sean Urgel
01/08/2019, 3:39 AMError: A unique constraint would be violated on User. Details: Field name =email
xiaoqf10
01/08/2019, 3:52 AMLucas
01/08/2019, 4:48 AMLucas
01/08/2019, 4:48 AMbrayoh
01/08/2019, 7:46 AMbrayoh
01/08/2019, 7:46 AMMarko Divjak
01/08/2019, 9:16 AMJidé
01/08/2019, 9:33 AMJorn
01/08/2019, 1:53 PMNaka
01/08/2019, 2:15 PMJohn Smith
01/08/2019, 2:17 PMFranz
01/08/2019, 2:35 PMnikolasburk
shadowcodex
01/08/2019, 5:05 PMvjsingh
01/08/2019, 6:09 PMusers
has the wrong format: [User!]
Possible Formats: User
, User!
, `[User!]!`”vjsingh
01/08/2019, 6:10 PMusers: [User!]
in my datamodel.graphqlbrandondeo
01/08/2019, 6:12 PMbrianfeister
01/08/2019, 7:30 PM{parent: String}
. Anything non-null
will work here, String
isn't accepted, complains about wanting an object. So, it's not types. I also tried { parent_not: null }
with no luck. Sorry for the beginner question, can't find this in the docs.
const children = await ctx.db.query.comments(
{
where: { AND: [{ isPublic: true }, { parent: String }] },
orderBy: 'createdAt_DESC'
},
info
)
brianfeister
01/08/2019, 7:32 PM