mickhansen / graphql-sequelize

GraphQL & Relay for MySQL & Postgres via Sequelize
MIT License
1.9k stars 172 forks source link

Make an example with sequelize-typescript #681

Closed kieuminhcanh closed 4 years ago

kieuminhcanh commented 4 years ago

Hi @mickhansen

I'm using graphql-sequelize with typescript by sequelize-typescript Could you make and example with this project. Another way, I dont see any document about how to get records has many relations ship. In this case I can not get user with all posts.

User: id, name
Post: id, name, user_id
mickhansen commented 4 years ago

I don't use typescript, so i can't be of much help, as far as i understand all javascript is valid typescript right?