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

Move generic normalize exceptions to typecasting #1142

Merged
merged 4 commits into from
Oct 24, 2023

Conversation

mvorisek
Copy link
Member

@mvorisek mvorisek commented Oct 14, 2023

fix #1139

typecasting should throw when a wrong type is given

normalize should accept valid types and adjust the values then only

@mvorisek mvorisek force-pushed the typecasting_must_not_allow_invalid_values branch 3 times, most recently from 9057cfd to 712bcfc Compare October 24, 2023 08:32
@mvorisek mvorisek force-pushed the typecasting_must_not_allow_invalid_values branch from 34eeebd to 049d612 Compare October 24, 2023 09:16
@mvorisek mvorisek changed the title Move generic normalize errors to typecasting Move generic normalize exceptions to typecasting Oct 24, 2023
@mvorisek mvorisek marked this pull request as ready for review October 24, 2023 09:28
@mvorisek mvorisek merged commit dc9d7b9 into develop Oct 24, 2023
31 checks passed
@mvorisek mvorisek deleted the typecasting_must_not_allow_invalid_values branch October 24, 2023 10:05
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.

Bad float/integer input is silently accepted
1 participant