Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating resolver types #177

Closed
elldritch opened this issue May 25, 2018 · 1 comment
Closed

Generating resolver types #177

elldritch opened this issue May 25, 2018 · 1 comment

Comments

@elldritch
Copy link

I'd like to be able to generate TypeScript types for my server-side resolvers. This way, I can update my app.graphql application schema, generate the resolver types for the new schema, and statically type-check my current resolver implementations against the generated types.

This seems like the most straightforward way to write type-safe resolvers. Is there a way to do this?

See also: ardatan/graphql-tools#404 and #14.

@maticzav
Copy link
Collaborator

Hey @liftM 👋,

That's an interesting question! I recommend you check out the graphqlgen project that we recently unveiled. I'll close the issue because we are trying to gain a better overview of the issues concerning the current version of prisma-binding, however, feel free to reopen it at any time 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants