create-graphql
create-graphql copied to clipboard
Add support for MySQL
As MySQL user, it would be interesting to have this feature too.
TODO
- [ ] read mysql table definition
- [ ] add config to .graphqlrc
- [ ] modify type to work with mysql
- [ ] modify loader to work with mysql
- [ ] modify mutation to work with mysql
- [ ] modify connection to work with mysql
I think we should have a generic approach to support any database, maybe a plugin style design
templates generators should receive an array of fields with all information needed
This could help https://github.com/rexxars/sql-to-graphql?
@sibelius: yeah.
We should start working on #59 asap.
this could help us: https://github.com/gajus/database-types