-
Notifications
You must be signed in to change notification settings - Fork 100
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
Templates should be written in TypeScript #123
Comments
I would like to see multiple language branches, so Graphcool templates are also easily accessible to vanilla JS developers. http://githut.info/ Typescript is still in place 34 on Github, versus Javascript in place 1... |
Sure, I wouldn't mind if they existed in both JavaScript and TypeScript. If you write them in TS you can easily convert them to JS. It's much more of a hassle to do the opposite for obvious reasons. So, should we just have separate examples for TypeScript or should they reside in the same examples (probably not supported atm)? |
^ Maybe a win-win could be setting up a |
As someone who no TypeScript when I started, the templates in TS were simple and easy to follow. I easily striped out the TS when I reused the code for other functions :) |
Issue type:
I am submitting:
What feature would you like to see added? Please be descriptive.
I would like to see all examples to be written in TypeScript to encourage people to adopt it. It makes a lot of sense to write resolvers in TS since it would help make them more robust and less bug prone.
Would you be able to submit a PR for this yourself?
Yes, I might be able to contribute to some of them.
The text was updated successfully, but these errors were encountered: