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

Update float/int parsing and expectations #397

Merged
merged 1 commit into from
Aug 19, 2021

Conversation

JordonPhillips
Copy link
Contributor

@JordonPhillips JordonPhillips commented Aug 11, 2021

This updates number parsing to be more strict. It also updates the expectation methods used for numbers to be more specific.

This relies on: aws/aws-sdk-js-v3#2662

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@adamthom-amzn
Copy link
Contributor

Should you just change int/float? Eventually we're going to have to handle underflow/overflow, and if we put that in the parse method, you're going to have to change this again.

@JordonPhillips
Copy link
Contributor Author

Should you just change int/float?

Incremental progress is still progress. Sure we'll add parse/expect short/byte/etc later

This updates number parsing in http bindings to be more strict. It
also updates the expectation methods used for numbers to be more
specific.
@trivikr trivikr merged commit adf914b into smithy-lang:main Aug 19, 2021
srchase pushed a commit to srchase/smithy-typescript that referenced this pull request Mar 17, 2023
This updates number parsing in http bindings to be more strict. It
also updates the expectation methods used for numbers to be more
specific.
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.

3 participants