Skip to content

Remove unnecessary GetActionContextAsync() extension method#18852

Open
hishamco wants to merge 1 commit intomainfrom
hishamco/http-context-extensions
Open

Remove unnecessary GetActionContextAsync() extension method#18852
hishamco wants to merge 1 commit intomainfrom
hishamco/http-context-extensions

Conversation

@hishamco
Copy link
Member

No description provided.

@hishamco hishamco requested a review from gvkries February 16, 2026 10:06
@hishamco
Copy link
Member Author

Seems this extension has been added accidentally

@gvkries
Copy link
Member

gvkries commented Feb 16, 2026

I think we should keep both extension method, but adjust the callers of the other extension method. This would reduce the overall code size a little bit. Note that these extension methods may play a greater role in the future, as it's basically a replacement for the IActionContextAccessor.

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.

2 participants