CCBCodeMonkey
02/28/2019, 6:13 PMOmprakash
02/28/2019, 6:58 PMSteve Mason
02/28/2019, 11:11 PMsapkalrohan
03/01/2019, 6:40 AMThidasa Pankaja
03/01/2019, 6:51 AMChiwanAhn
03/01/2019, 7:57 AM.graphqlconfig.yml
doesn’t see .env variables
when execute query or mutation on vscode with graphql plugin by prisma.
Is there any one who is faced this issue?arsan.irianto
03/01/2019, 8:02 AMJorge
03/01/2019, 9:12 AMMatt Tennison
03/01/2019, 9:16 AMAykut Alpgiray
03/01/2019, 10:00 AMk0ff33
03/01/2019, 11:42 AMERROR: GraphQL Error (Code: 503)
and nothing really works from the CLI. The server still works fine though. Did anyone had a similar issue?Luca
03/01/2019, 12:18 PMfunc (r *Resolver) Todo_userLoader(ctx context.Context, obj *Todo) (*User, error) {
return ctx.Value(userLoaderKey).(*UserLoader).Load(<http://obj.xxx|obj.xxx>) // I only have obj.ID and no obj.UserID or something similar
}
I can't seem to find a way to find a working solution. I could create a UserLoaderBySession and load them with session IDs: .(*UserLoader).Load(<http://obj.xxx|obj.xxx>)
, but when I provide todos belonging to the same user, my internal prisma where-or-query only returns unique results and since prisma doesn't return relation ids (like obj.UserID) I can't connect them to the session IDs afterwards (because dataloader expects 5 returned results when 5 ids are provided).
Any suggestions?Luca
03/01/2019, 12:18 PMrem
03/01/2019, 12:59 PMdisplay: block;
width: 8px;
height: 8px;
box-shadow: rgba(139, 149, 156, 0.4) 0px 0px 0px;
border-radius: 50%;
background: rgb(139, 149, 156);
animation: cdRpRa 2s ease 0s infinite normal none running;
Joe
03/01/2019, 1:13 PMrem
03/01/2019, 1:44 PMBiel Simon
03/01/2019, 2:15 PMSimon
03/01/2019, 2:21 PMOsicka
03/01/2019, 3:34 PMOsicka
03/01/2019, 3:34 PMnikolasburk
Luca
03/01/2019, 5:29 PMGary Thung
03/01/2019, 5:38 PMprisma-binding
Luca
03/01/2019, 7:01 PMRyan Salmons
03/01/2019, 8:42 PMnoahdavis
03/01/2019, 9:19 PMRyan Salmons
03/01/2019, 10:13 PMDan Ramos
03/02/2019, 12:03 AMexport const User = prismaObjectType({
name: "User",
definition(t) {
t.prismaFields(["id", "email", "first_name", "last_name", "address"]);
}
});
This works fine except 'address' is returning as null. Address is a nested object type so I'm not sure how/why that's causing issues. Can anyone help?John Smeeth
03/02/2019, 10:01 AMJohn Smeeth
03/02/2019, 10:01 AM