Matthew Ferrin
Matthew Ferrin
@chenglou I'm not using reason-react (and reason-cli) at present. I loved experimenting with them though. If someone else ran into the same issue, I wanted them to see this. I...
@edorivai Your solution appears to work, but takes me back to the initial issue I had using other techniques. I need to support graphql imports. ``` # import TeamConnection from...
@edorivai Nevermind. Works perfectly using `graphql-import`. I'm just a little slow this time. src/schema.js ```js // for typescript types generation only const { makeExecutableSchema } = require("graphql-tools"); const { importSchema...
@tomitrescak You can create a new file name schema.js in your src directory. The copy and paste the top js code snippet into it. Should work. Let me know if...
@tomitrescak And it looks like I'm going to use my `schema.js` file with `graphql-code-generator` instead too. Since my goal is to add static type checking to my server-side work and...
@tomitrescak Looks like I was wrong. Neither generator works well to type my server-side. Not sure what the best approach is, but I'll work with what I got :)
@tomitrescak Are the `Types` exported from the `prisma` package? My npm installed dependency has a blank type definitions file. Starting to clone `prisma`, but it's a bit of work to...
You're awesome. It looks pretty sweet. Thanks.
I haven't figured out how I broke the database playground yet, but the below was sufficient to get sweet type checking: ```ts import { GraphQLResolveInfo } from "graphql"; import *...
@tomitrescak ```ts export type Remapped = { [P in keyof T]: ( parent: null | undefined, args: FirstArgument, ctx: Context, info?: GraphQLResolveInfo ) => any }; ``` Have you found...