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

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

Open rynowak opened this issue 4 years ago • 1 comments

[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].

rynowak avatar Jul 01 '21 18:07 rynowak

@halspang - let's come up with a design before coding this up

rynowak avatar Sep 28 '21 20:09 rynowak