gql-info-to-select
This module takes graphQL info object and returns prisma-clint's include object
Installation
Using npm:
$ npm i gql-info-to-select
Note: add --save
if you are using npm < 5.0.0
In Node.js:
// Load the full build.var infoSelect = ;var userIncludes = infoSelect; return ctxprismauser;
// Load the full build.;; return ctx.prisma.user.findOne;