joarwilk / gql2flow

Convert a GraphQL Schema to a flow definition
97 stars 24 forks source link

Typescript support #29

Closed insidewhy closed 7 years ago

insidewhy commented 7 years ago

-T

insidewhy commented 7 years ago

As you know the automated tests are broken, but we tested this on our existing fairly complex flow project and the files are identical (to the character) afterwards. We then used the same schema on our typescript project where it generates valid typescript.

brettjurgens commented 7 years ago

@ohjames i think you're looking for gql2ts, which this project is based on

insidewhy commented 7 years ago

Oh and I see that project supports flow now also... probably should have used that in the first place lol.

joarwilk commented 7 years ago

@ohjames Yeah I will deprecate this in favour of that, no point having two identical repos.

insidewhy commented 7 years ago

... and they have working tests also. Might wanna update the README to forward to that project.