Antonio
03/13/2018, 7:50 AMAntonio
03/13/2018, 7:50 AMAntonio
03/13/2018, 7:51 AMRaeesaa
03/13/2018, 8:10 AMAntonio
03/13/2018, 8:12 AMMoritz
03/13/2018, 9:29 AMafter: String
parameter to a nested parameter from a query resolver in prisma. I am currently reading https://blog.graph.cool/graphql-server-basics-demystifying-the-info-argument-in-graphql-resolvers-6f26249f613a Am I on the right track? Any tips?kron4eg
03/13/2018, 9:51 AMkron4eg
03/13/2018, 9:56 AMMoritz
03/13/2018, 10:01 AMwall
by id
and also query the connected posts on that wall like so. However, I would like to impose an after: ID!
quering only the posts posted after a certain id. These are my data models: type Wall{
id: ID! @unique
posts: [Post!]!
}
type Post {
id: ID! @unique
author: User!
wall: Wall!
}
and my resolver: wall(parent, { id, after }, ctx: Context, info) {
return ctx.db.query.wall(
{
where: {
id
}
},
info
);
},
Now, I would like to limit the returned posts requested via the info object. What is the recommended design for this? Should I manipulate the info object? Or can I somehow change the post resolver that prisma would automatically use above to a custom resolver? Thanks!jof
03/13/2018, 10:45 AMapi π master * π prisma export -p ~/dev/blah/api/prisma-export.zip
Downloading nodes !
βΈ [object Object]
Get in touch if you need help: <https://www.graph.cool/forum>
To get more detailed output, run $ export DEBUG="*"
There is no file generated. And nothing in .export/
davidyoung
03/13/2018, 10:46 AMjamiehalvorson
03/13/2018, 12:11 PMdisconnect
on an array of nodes? https://www.graph.cool/forum/t/disconnect-array-of-nodes/2822Vendicto
03/13/2018, 12:19 PManton-b
03/13/2018, 12:45 PMimport { Context } from './utils'
for?
I'm using the advanced node.js boilerplate, but my linter is shouting "'Context' is assigned a value but never used." everwhere π€anton-b
03/13/2018, 12:47 PMVakrim
03/13/2018, 12:48 PMkron4eg
03/13/2018, 1:09 PMkron4eg
03/13/2018, 1:09 PMbmitch
03/13/2018, 3:45 PMiamclaytonray
03/13/2018, 4:32 PMJoel
03/13/2018, 6:34 PMTroyZ
03/13/2018, 6:56 PMDevin
03/13/2018, 7:00 PMlogan
03/13/2018, 7:03 PMsvg
of the prisma logo?janz
03/13/2018, 7:03 PMgraphcool deploy
? I seem to have broken something with a deploy, and I'm getting constant Internal Server Error messages, even in the console.graphcool, and even duplicating the damaged project seems to freezesbornia
03/13/2018, 8:14 PMgc init
and gc deploy
and deploy fails without any error messages, and the generated .graphcoolrc
file contains this: {}
. Did anyone experience this before? @nilan maybe you have heard of this?
graphcool-framework/0.11.5 (darwin-x64) node-v9.8.0
etx
03/13/2018, 8:34 PMjof
03/13/2018, 9:28 PMMcArthur
03/13/2018, 9:37 PM