shankar
03/31/2018, 10:27 AMshankar
03/31/2018, 10:27 AMnilan
03/31/2018, 10:33 AMshankar
03/31/2018, 10:42 AMlineus
03/31/2018, 6:43 PMMichael Jones
03/31/2018, 8:28 PMYou're using fragments in your queries, but either don't have the addTypename: true option set in Apollo Client, or you are trying to write a fragment to the store without the __typename.
When I google it from what I can tell it should automatically be taken care of. Do I have to add __typename
to all of my fragments or something?Till
03/31/2018, 10:43 PMharmony
03/31/2018, 10:46 PMharrisrobin
03/31/2018, 11:29 PMSELECT DISTINCT name FROM City
I don't think there's a way for me to do this using prisma right now because we don't yet have count_distinct
, is there a way to implement raw sql queries in resolvers though?Michael Jones
04/01/2018, 3:15 AMgraphql yoga
server we are adding Prisma to the context. Does that just mean that we can access Prisma from within our own resolvers? In other words, does that mean that the whole Prisma schema is not exposed to the client? If it is not auto exposed, is there a way to make it partly auto exposed?ajmakhl
04/01/2018, 8:29 AMTill
04/01/2018, 12:14 PMTill
04/01/2018, 12:14 PMcj
04/01/2018, 7:48 PMdrizzie
04/01/2018, 8:37 PMdrizzie
04/01/2018, 9:18 PMphil
04/01/2018, 9:34 PMjson
data type? Sending back arbitrary objects from a resolver?
Is that a custom defined schema type?veksen
04/02/2018, 3:10 AMconst conversationExists = await ctx.db.exists.Conversation({
participants_every: { AND: [{ id: userId }, { id: currentUserId }] }
});
type Conversation {
id: ID! @unique
participants: [User!]!
}
veksen
04/02/2018, 3:35 AMconst conversationExists = await ctx.db.exists.Conversation({
participants_every: { AND: [{ id_in: [userId, currentUserId] }] }
});
veksen
04/02/2018, 7:10 AMradicand
04/02/2018, 9:16 AMcannot query field "SomeXXXXExists" on type 'Query'
apertureless
04/02/2018, 11:26 AMVendicto
04/02/2018, 1:06 PMtype SearchPayload {
data: Array <-- here I haver an error (Schema Extension Error for function 'search': Relations are currently not supported. Field 'data')
}
extend type Query {
search(name: String): SearchPayload
}
devan
04/02/2018, 3:37 PMZach
04/02/2018, 4:01 PMplastikaweb
04/02/2018, 4:05 PMdigitaltopo
04/02/2018, 4:45 PMbpk
04/02/2018, 5:17 PMckelley
04/02/2018, 6:21 PMgraphcool
command doesn't have an export
function anymore.Aguilar
04/02/2018, 6:38 PM