Skip to content

Conversation

watersRand
Copy link
Contributor

This pull request resolves the issue where certain command parameter enums, specifically ClientKillFilters for the CLIENT KILL command, were not publicly exported by the @redis/client package. The purpose of this change is to make the ClientKillFilters enum accessible to all package consumers, eliminating the need for users to rely on an unstable internal import path.

This matters because it provides a reliable and supported way for developers to use commands that require these enums, improving the package's usability and API stability.

Closes #2805

@nkaradzhov
Copy link
Collaborator

Hi @watersRand, sorry for the late response and thanks for the contribution! This looks good, but we can do a little better here by exporting those to the top level so users can import { CLIENT_KILL_FILTERS } from 'redis'. I made a PR to your branch, so you can just take the changes and we can progress from there

@nkaradzhov nkaradzhov self-requested a review October 8, 2025 13:44
Copy link
Collaborator

@nkaradzhov nkaradzhov left a comment

Choose a reason for hiding this comment

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

CLGTM

@nkaradzhov nkaradzhov merged commit d6d8d8e into redis:master Oct 8, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Command parameter enums not exported
2 participants