[Cases] Refactor client functions #153546
Labels
Feature:Cases
Cases feature
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
technical debt
Improvement of the software architecture and operational architecture
The client functions that cases returns duplicate parameters that are needed for the case context when setting up the callbacks. We could refactor this to reduce the boilerplate code into a function that is passed to each callback that way we don't need to update a bunch of places whenever we need to add a new field to each of the callbacks or the case context.
Discussion: #152941 (comment)
The text was updated successfully, but these errors were encountered: