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

Add saferCast #594

Open
tomjaguarpaw opened this issue May 15, 2024 · 1 comment
Open

Add saferCast #594

tomjaguarpaw opened this issue May 15, 2024 · 1 comment

Comments

@tomjaguarpaw
Copy link
Owner

unsafeCast is too unsafe. Add something like

saferCast :: IsSqlType b => Field_ n a -> Field_ n b

That's not much safer, but it is a bit more coherent!

@tomjaguarpaw
Copy link
Owner Author

tomjaguarpaw commented May 15, 2024

DELETED: whoops, wrong issue.

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

No branches or pull requests

1 participant