Skip to content

Conversation

cmanallen
Copy link
Member

@cmanallen cmanallen commented Aug 28, 2023

Annotated<u16> is not possible so I'm manually checking if the u64 type is within the bounds of a u16.

#skip-changelog

@cmanallen cmanallen requested a review from a team August 28, 2023 20:45
Copy link
Member

@jjbayer jjbayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jan-auer IMO it would be more elegant to implement FromValue etc. for u16, but I'm not sure whether we want to keep the list of base types clean (i.e. f64, i64, u64).

@cmanallen cmanallen merged commit dc7fa53 into master Aug 29, 2023
@cmanallen cmanallen deleted the cmanallen/replays-cap-segment-id branch August 29, 2023 17:55
cmanallen added a commit that referenced this pull request Apr 3, 2025
Due to a comedy of errors the u16 max validation was inadvertently
removed. This PR re-adds it. This validation was present for most of
replays history.

Previous PRs on the subject (not necessary to read -- put here to
explain the situation for future readers should this issue come back).

#2434
#3280
#3961
#3984
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