dapr / dapr/js-sdk

Missing metadata from client state.qeury

Open
#318 4 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue triaged/resolved
Dominant language
JavaScript
Stars
217
Forks
104
PR merge metrics
No merged PRs in 30d

Description

## 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`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the async query(storeName: string, query: StateQueryType) function and trace how component-index queries pass their arguments. Reproduce the query index not found error, then verify that metadata can be supplied and the component index query completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.