Closed sburmanoctopus closed 10 months ago
If you want to get access to the proxy in your test (if you added one), then you have to use a nullable property on the "client and service".
This contract is limiting, as it is not clear when this nullable property will actually contain a value or not.
The proxy property will only include a value if you have called WithProxy
WithProxy
We make WithProxy optionally take an 'out' parameter so that the caller will know for sure that they have the correct reference to the proxy.
Quality :heavy_check_mark:
Background
If you want to get access to the proxy in your test (if you added one), then you have to use a nullable property on the "client and service".
This contract is limiting, as it is not clear when this nullable property will actually contain a value or not.
Results
Before
The proxy property will only include a value if you have called
WithProxy
After
We make
WithProxy
optionally take an 'out' parameter so that the caller will know for sure that they have the correct reference to the proxy.How to review this PR
Quality :heavy_check_mark:
Pre-requisites