Skip to content

getKeysFromCommandWithSpecs Handling module key-spec flags for ACL selectors #10144

@oranagra

Description

@oranagra

since the moduleGetCommandKeysViaAPI api doesn't support flags, and modules can soon declare key-specs, we should probably re-order the checks in getKeysFromCommandWithSpecs and prefer key-specs over moduleGetCommandKeysViaAPI (only if there are no key-specs or something).

Alternatively, additionally add a variant for RedisModule_KeyAtPos that sets key-spec flags.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions