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

Allow categories up to 64 chars, disallow empty categories #1300

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

rowanseymour
Copy link
Member

No description provided.

@@ -195,7 +195,7 @@ type baseRouterEnvelope struct {
Type string `json:"type" validate:"required"`
Wait json.RawMessage `json:"wait,omitempty"`
ResultName string `json:"result_name,omitempty" validate:"omitempty,result_name"`
Categories []json.RawMessage `json:"categories,omitempty" validate:"required,min=1,dive,result_category"`
Copy link
Member Author

Choose a reason for hiding this comment

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

this is wrong.. and not sure how it's currently working since each category at this point is just json.RawMessage

@rowanseymour rowanseymour changed the title Allow category names of up to 64 chars Allow categories up to 64 chars, disallow empty categories Dec 26, 2024
Copy link

codecov bot commented Dec 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.74%. Comparing base (c6f6d72) to head (00afd1b).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1300      +/-   ##
==========================================
- Coverage   81.76%   81.74%   -0.02%     
==========================================
  Files         276      276              
  Lines       21339    21326      -13     
==========================================
- Hits        17447    17434      -13     
  Misses       3318     3318              
  Partials      574      574              

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

@rowanseymour rowanseymour merged commit aa58605 into main Jan 6, 2025
7 checks passed
@rowanseymour rowanseymour deleted the longer_categories branch January 6, 2025 14:25
@github-actions github-actions bot locked and limited conversation to collaborators Jan 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant