-
-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Breaking change]: field.length is a string inside typeCast. #1426
Comments
let me take a look. |
I'm surprised how many users depend on |
@felixmosh could you test by installing from master? |
I agree. But you might need to come up with the specification? |
yeah, I'll try to create RFC with proposed spec |
Looks OK to me. |
@felixmosh, let's close this? |
Seems already fixed in the release 2.3.3 |
Since
v2.3.2
thefield.length
property that passed intotypeCast
function is a string instead of number!Therefore it breaks
boolean
conversions.If this change was intentional, it is a breaking change, therefore I should be bumped in a major version.
I'm using
knex
query builder.The text was updated successfully, but these errors were encountered: