Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support loading the GetBeforeRequest after the constructor. #185

Merged
merged 1 commit into from
Aug 18, 2022

Conversation

ostat
Copy link
Contributor

@ostat ostat commented Aug 12, 2022

Resolve #184

This reverts a recent change that came in the .net 6 update. I can see why we made the change as you can't register a nullable object in the IOC (maybe you could in .net3).

The action in question is to allow you to update the HttpRequestMessage. So instead of having the default be a null action, I changed it to an action that does nothing.

@chullybun chullybun merged commit 3188035 into Avanade:master Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AgentTester RegisterBeforeRequest ineffective withhin test class.
2 participants