Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duck-type individual context values to support complex objects #42

Open
kzu opened this issue Nov 28, 2022 · 0 comments
Open

Duck-type individual context values to support complex objects #42

kzu opened this issue Nov 28, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@kzu
Copy link
Member

kzu commented Nov 28, 2022

Currently we simply cast the dictionary values to the type requested by the target
type being retrieved from the context via the generated extension TryGet<T>.

It would be nice to have fully flexible conversion just like we have for events and
commands, so that complex objects can also be just automapped on retrieval,
if direct casting isn't possible.

Back this issue
Back this issue

@kzu kzu added the enhancement New feature or request label Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant