Skip to content
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

[SQLite] Add boolean mode to integer #725

Merged
merged 22 commits into from
Jun 16, 2023
Merged

Conversation

meech-ward
Copy link
Sponsor Contributor

Continuing on from #411

This is to resolve the following error from unicorn:
error  method 'mapFromDriverValue' is equivalent to . Use  directly  unicorn/prefer-native-coercion-functions

Since SQLite allows us to add pretty much any value, I'm not sure what the correct logic here would be. To me it makes sense to treat the number 1 as true and any other value defaults to false.
@dankochetov
Copy link
Contributor

@meech-ward the pipeline is failing

@meech-ward
Copy link
Sponsor Contributor Author

it should be working now

@aulneau
Copy link
Sponsor

aulneau commented Jun 12, 2023

this looks great! any ability to get this in soon?

@meech-ward
Copy link
Sponsor Contributor Author

@dankochetov would you be able to check this one again?

@dankochetov dankochetov merged commit af6149d into drizzle-team:main Jun 16, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants