Skip to content

Implement type-fns support for PK #87

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

Merged
merged 1 commit into from
Oct 20, 2021

Conversation

pawit-metabase
Copy link
Contributor

@pawit-metabase pawit-metabase commented Oct 12, 2021

Apply type-fns to PK before using it in the database and vice versa.

Note that this might be a breaking change for callers who already convert the input to the database-native type since Toucan previously did not consistently apply type-fns (e.g. applied on insert and update, but not where clause in select)

Fixes #65

@camsaul camsaul merged commit 61105be into metabase:master Oct 20, 2021
@camsaul camsaul added this to the 0.16.0 milestone Oct 20, 2021
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.

Need tests for a model with byte array PK
2 participants