We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SortByProperty type accepts only PropertyName type, but should accept just string.
SortByProperty
PropertyName
string
// packages/search/lib/commands/index.ts:137 export type PropertyName = `${'@' | '$.'}${string}`; export type SortByProperty = PropertyName | { BY: PropertyName; DIRECTION?: 'ASC' | 'DESC'; };
Even in examples it is used without $. or @ https://github.com/redis/node-redis/blob/master/examples/search-hashes.js#L51
Maybe related to the #2229
Environment:
The text was updated successfully, but these errors were encountered:
duplicate of #2229
Sorry, something went wrong.
No branches or pull requests
SortByProperty
type accepts onlyPropertyName
type, but should accept juststring
.Even in examples it is used without $. or @
https://github.com/redis/node-redis/blob/master/examples/search-hashes.js#L51
Maybe related to the #2229
Environment:
The text was updated successfully, but these errors were encountered: