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

Require hyphens on UUIDv4 & add ErrorCode::AuthToken #333

Merged
merged 10 commits into from
May 15, 2024
Merged

Conversation

lf94
Copy link
Contributor

@lf94 lf94 commented May 15, 2024

No description provided.

@lf94 lf94 requested a review from adamchalmers May 15, 2024 01:32
Copy link

codecov bot commented May 15, 2024

Codecov Report

Attention: Patch coverage is 57.14286% with 15 lines in your changes are missing coverage. Please review.

❗ No coverage uploaded for pull request base (main@f4cebe6). Click here to learn what that means.

Files Patch % Lines
modeling-cmds/src/id.rs 57.14% 15 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #333   +/-   ##
=======================================
  Coverage        ?   55.05%           
=======================================
  Files           ?       51           
  Lines           ?     5854           
  Branches        ?        0           
=======================================
  Hits            ?     3223           
  Misses          ?     2631           
  Partials        ?        0           
Flag Coverage Δ
unittests 55.05% <57.14%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lf94
Copy link
Contributor Author

lf94 commented May 15, 2024

I had to add a custom deserializer to invoke the new method in places that don't invoke it directly, since many places just use serde to access this value. @adamchalmers could I get a quick sanity peek and re-approval? Thanks :)

@lf94 lf94 requested a review from adamchalmers May 15, 2024 14:48
@lf94
Copy link
Contributor Author

lf94 commented May 15, 2024

This is now growing because it's just easier to get these small changes in...

@lf94 lf94 changed the title Require hyphens on UUIDv4 Require hyphens on UUIDv4 & add ErrorCode::AuthToken May 15, 2024
@lf94 lf94 merged commit 22409b0 into main May 15, 2024
8 checks passed
@lf94 lf94 deleted the lf94/require-hyphens branch May 15, 2024 18:36
@paultag
Copy link
Collaborator

paultag commented May 15, 2024

pushed to crates and tagged

adamchalmers added a commit that referenced this pull request May 16, 2024
We transmit modeling cmd IDs as strings (when serialized to JSON) and as bytes (when serialized to BSON). However 
 a [recent PR](#333) started using a custom deserializer for modeling cmd IDs, which only implemented deser for strings.
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