Skip to content

Report error if nil arguments are used for Redis

Sylvester Chin requested to merge sc1-report-redis-nil-arg into master

What does this MR do and why?

This MR adds ErrorTracking into the command builder if NilClass is found in Redis commands. This helps to shift the responsibility of sanitising Redis command args to the caller as the redis-client only provide type support for a few basic types.

Closes #439593 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports