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

Fixes issue with overflow for Postgres #653

Merged
merged 2 commits into from
Mar 27, 2024
Merged

Fixes issue with overflow for Postgres #653

merged 2 commits into from
Mar 27, 2024

Conversation

paupino
Copy link
Owner

@paupino paupino commented Mar 27, 2024

Fixes #652 by handling conversion errors explicitly. This still hides the error a little bit bubbling it all up to a ExceedsMaximumPossibleValue however given the limited error functionality avoids additional string allocation / error enum introduction (which is breaking).

@paupino paupino merged commit 0377650 into master Mar 27, 2024
5 checks passed
@paupino paupino deleted the issue/652 branch March 27, 2024 01:19
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.

Return error rather than panic in FromSql when overflow
1 participant