Add the ability to use a *static* key with [FromState]
Open
- 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
Assessment
This issue has not been assessed yet.