create-graphql icon indicating copy to clipboard operation
create-graphql copied to clipboard

Add support for MySQL

Open felippepuhle opened this issue 8 years ago • 4 comments

As MySQL user, it would be interesting to have this feature too.

felippepuhle avatar Feb 06 '17 12:02 felippepuhle

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

sibelius avatar Feb 06 '17 13:02 sibelius

This could help https://github.com/rexxars/sql-to-graphql?

sibelius avatar Feb 09 '17 17:02 sibelius

@sibelius: yeah.

We should start working on #59 asap.

lucasbento avatar Feb 09 '17 21:02 lucasbento

this could help us: https://github.com/gajus/database-types

sibelius avatar Jun 07 '17 04:06 sibelius