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.


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.