js-sdk icon indicating copy to clipboard operation
js-sdk copied to clipboard

Missing metadata from client state.qeury

Open avifatal opened this issue 2 years ago • 4 comments

Expected Behavior

We need to pass the metadata in order to invoke a query index

Actual Behavior

can't pass metadata to the function: async query(storeName: string, query: StateQueryType)

Steps to Reproduce the Problem

try to query a component index and you will get the error: failed query in state store store: query index not found

avifatal avatar Jul 07 '22 18:07 avifatal

Related #302

shubham1172 avatar Jul 09 '22 18:07 shubham1172

This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.

dapr-bot avatar Sep 07 '22 18:09 dapr-bot

Hello, is this issue in consideration for a future release? Seems that for use of the Query API with Redis it is necessary to pass the metadata object with the 'queryIndexName', otherwise we get the error mentioned by @avifatal.

SumeetR avatar Aug 30 '23 14:08 SumeetR

Hi @SumeetR, it is not triaged at the moment but if there is a PR from the community, happy to put it in the next release!

shubham1172 avatar Sep 11 '23 06:09 shubham1172