-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Cases] Filter Cases API guardrails #160705
Conversation
Updated documentation. Tests
Pinging @elastic/response-ops (Team:ResponseOps) |
Pinging @elastic/response-ops-cases (Feature:Cases) |
MAX_REPORTERS_FILTER_LENGTH, | ||
MAX_TAGS_FILTER_LENGTH, | ||
} from '../../constants'; | ||
import { limitedArraySchema } from '../../schema'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not for this PR but I think we should put our io-ts
validation functions/helpers in a different folder. Given all the conversation around schemas, types, versioned APIs, etc the name of the folder is confusing hahaha.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OAS changes LGTM, thanks!
💚 Build Succeeded
Metrics [docs]Async chunks
Page load bundle
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @adcoelho |
Connected to #146945
Summary
Checklist
Delete any items that are not applicable to this PR.
Release notes
The Find Cases API now limits the array fields tags, assignees, and categories to 100 items.