using state resolves for route dependencies rather than events and commands