mickhansen / graphql-sequelize

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

Support for latest sequelize version #682

Closed nikhildaga closed 4 years ago

nikhildaga commented 5 years ago

node query with latest sequelize version results in sequelize.models[model].findById is not a function error.

This pr fixes it.

mickhansen commented 5 years ago

That fix will break other versions, please provide a fix that will support multiple versions of sequelize.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.