You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it looks like this is a closure, but it would be nice to have a way to get access to the policies on a wrapped policy. This however also seems naughty... my reasoning though is that I would like to check in unit tests that a new retry is being returned by my method that creates the policy in the first place, and that the other policies are singletons. I'd be ok with it requiring you to poke the internals a little by accessing it via an object key. I also understand if you can't/don't want to do this.
The text was updated successfully, but these errors were encountered:
xenoterracide
changed the title
provide access to a wrapped policies
provide access to wrapped policies
Jun 1, 2022
it looks like this is a closure, but it would be nice to have a way to get access to the policies on a wrapped policy. This however also seems naughty... my reasoning though is that I would like to check in unit tests that a new retry is being returned by my method that creates the policy in the first place, and that the other policies are singletons. I'd be ok with it requiring you to poke the internals a little by accessing it via an object key. I also understand if you can't/don't want to do this.
The text was updated successfully, but these errors were encountered: