You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The validation rules for query parameters like startTime, endTime, frequency, etc., are similar across multiple routes such as in src/device-registry/routes/v2/readings.js. Consider refactoring them into reusable middleware functions or validation schemas to reduce code duplication and enhance maintainability.
The validation rules for query parameters like
startTime
,endTime
,frequency
, etc., are similar across multiple routes such as insrc/device-registry/routes/v2/readings.js
. Consider refactoring them into reusable middleware functions or validation schemas to reduce code duplication and enhance maintainability.Referenced in PR #3762 and this comment.
Requested by @Baalmart.
The text was updated successfully, but these errors were encountered: