tuql
tuql copied to clipboard
Use Sequelize BOOLEAN for boolean fields
SQLite boolean fields are currently being typed as Sequelize's NUMERIC type (https://github.com/bradleyboy/tuql/blob/master/src/builders/definitions.js#L22) but they end up as a String type on the GraphQL API.
I'm using Sequelize's BOOLEAN instead and it's working as expected.