Volst / graphql-authentication

🔑 Makes it easy to do boring authentication stuff with GraphQL (login, password reset, ...)
https://graphql-authentication-demo.now.sh/
ISC License
234 stars 15 forks source link

Use less `any` types #5

Closed SpaceK33z closed 6 years ago

SpaceK33z commented 6 years ago

I shouldn't use that much any types, what is wrong with me...

SpaceK33z commented 6 years ago

With apollo-codegen I can generate the typings based on the schema automatically; that would be the cleanest solution.

SpaceK33z commented 6 years ago

Note to self; resources used:

https://gist.github.com/adamkl/27539b3a8129f23e3576bfc37b3ea235 https://github.com/avantcredit/gql2ts https://github.com/dotansimha/graphql-code-generator https://www.npmjs.com/package/graphql-typescript-definitions