ramin
01/21/2019, 12:52 PMrem
01/21/2019, 1:28 PMProject not found: 'backend$test' - this is a snippet of the code (again, queries work just fine) https://git.io/fhzoX - anyone seen this kind of error (or know of good testing patterns - without mocks)rem
01/21/2019, 1:31 PMandykay
01/21/2019, 1:52 PMitems to load with this query: course(where: {id: "cjqqp8g9z00xx0a06kchfp119"}) {
id
name
units {
id
name
items {
id
name
}
}
}
}andykay
01/21/2019, 1:53 PMforwardToBiel Simon
01/21/2019, 3:02 PMjdoyle112
01/21/2019, 4:25 PMrem
01/21/2019, 4:57 PM{ create: { ... } or { connect: { ... } } and I can see the records in my postgres database (in the tables starting with _), but when I query across data relations, it never comes back - nothing more complicated than this example: https://www.prisma.io/docs/prisma-graphql-api/reference/queries-qwe1/#querying-data-across-relationsrem
01/21/2019, 4:58 PMrem
01/21/2019, 5:00 PMtej
01/21/2019, 5:01 PMgraphqlgen support `union`s?kbpsystem
01/21/2019, 5:11 PMCCBCodeMonkey
01/21/2019, 5:38 PMCCBCodeMonkey
01/21/2019, 5:39 PMPost, and it has a sub object like Comment... and Comment has an id and I want to add some data to Comment in the resolver where the data doesn't come from prismaCCBCodeMonkey
01/21/2019, 5:39 PMid of the comment, in my comment resolverCCBCodeMonkey
01/21/2019, 5:40 PMid is only there if the user queries for id in the original query, if they don't query for id I don't know how to look up the rest of the data..CCBCodeMonkey
01/21/2019, 5:41 PMComment they are referencing to go back to prisma and get the idCCBCodeMonkey
01/21/2019, 5:48 PMCCBCodeMonkey
01/21/2019, 5:49 PMrem
01/21/2019, 5:54 PMCCBCodeMonkey
01/21/2019, 5:55 PMCCBCodeMonkey
01/21/2019, 5:55 PMCCBCodeMonkey
01/21/2019, 5:56 PMCCBCodeMonkey
01/21/2019, 5:56 PMrem
01/21/2019, 6:21 PMprisma.user(…) do any caching? I'm starting to add relation resolvers in my User type, but I'm repeating prisma.user(…).<relation> throughout my /Types/User.js resolver.
Just wary that if there's no caching, it could be running the same query against the user table many times…pancake
01/21/2019, 6:54 PMgetClientUser( data: clientUserRetrievalArgs): ResponsePayload where ResponsePayload is defined as ‘{ token, clientUser }’. token is not represented in the data store, clientUser is. Any advice on how to ensure that nested queries of clientUser data from info are correctly passed?randolphpark
01/22/2019, 12:31 AM# Type 'ARRAY' is not yet supported.
I realise it is in the feature request, and it is not listed in roadmap. Dose it mean there would not be any update soon(couple of months)?
Thanks in advance.warchantua
01/22/2019, 9:54 AMgraphqlgen?serum
01/22/2019, 12:06 PMmikedklein
01/22/2019, 12:22 PM