tuql icon indicating copy to clipboard operation
tuql copied to clipboard

Use Sequelize BOOLEAN for boolean fields

Open renato opened this issue 5 years ago • 0 comments

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.

renato avatar Mar 11 '20 04:03 renato