我在前端使用阿波罗客户端,在后端使用graphql-nexus,prisma2和graphql-yoga服务器。 我想用@paljs/plugins解决n+1问题。= await prisma.post.findMany(opArgs) //The result I want to return with the "sub-models" likeconsole.log(JSON.stringify(post, unde
它目前正在使用mysql-prisma-apollo服务器-网络进行开发,并且有必要使用RESTAPI接收行数据post,而不是当前开发的GrqphQL语句。您希望处理传递到Path中的post的原始数据(例如,/api/ data /status)。有没有办法在阿波罗服务器上创建一个RestAPI?