Skip to content

Move generic normalize exceptions to typecasting#1142

Merged
mvorisek merged 4 commits intodevelopfrom
typecasting_must_not_allow_invalid_values
Oct 24, 2023
Merged

Move generic normalize exceptions to typecasting#1142
mvorisek merged 4 commits intodevelopfrom
typecasting_must_not_allow_invalid_values

Conversation

@mvorisek
Copy link
Copy Markdown
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
@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

Development

Successfully merging this pull request may close these issues.

Bad float/integer input is silently accepted

1 participant