-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref: Coerce all Thread IDs to integers
While porting the Snuba consumers to Rust, I saw that thread IDs could be strings. This isn't really aligned with how it's typed in our frontend, typed in symbolicator, and appears to subvert user expectations as well: getsentry/sentry-go#767 It seems easiest to restrict the output type and silently coerce strings to integers. This also gets rid of weird artifacts like people sending in random (non-numerical) strings which is currently allowed
- Loading branch information
Showing
1 changed file
with
17 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters