dapr / dapr/dotnet-sdk

Add the ability to use a *static* key with [FromState]

Open
#707 1 comment 0 reactions 1 assignee Claimed by @halspang View on GitHub
Dominant language
C#
Stars
1.2k
Forks
378
Avg merge
1d 22h
Merged PRs (30d)
5

Description

`[FromState("foo", "bar")]` assumes that you are going to look up the key `bar` in the route values to find the state store key to look up.

We should also provide the option to use this with a static key. If you want to use modeling binding but the key you want to look up is static, there's no good way to do this with `[FromState]`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.