resolve
resolve copied to clipboard
Unable to provide custom arguments to ViewModel resolver
I need to provide to ViewModel resolver several arguments which are not aggregateIds. I use them to check user access rights and get actual aggregateIds.
At the moment I use aggreateIds
property in query argument to provide needed context to resolver. It looks weird.
There is args
property in ViewModelQuery
type, but I have not managed to make it work and it's not described in documentation