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

Remove not used middleware extension methods and unify adding middleware #2340

Merged

Conversation

cieciurm
Copy link
Contributor

@cieciurm cieciurm commented Feb 7, 2022

Hi,

I was browsing through the code and noticed that in the HTTP server, the middlewares are added directly using UseMiddleware<T> and not through the extension methods except for LoggingMiddleware, which is using the extension method.

Here's my PR with a suggestion to unify this code.

@dnfadmin
Copy link

dnfadmin commented Feb 7, 2022

CLA assistant check
All CLA requirements met.

Copy link
Member

@filipw filipw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@cieciurm
Copy link
Contributor Author

Hi @filipw,

Can this be merged or is there something missing?

3 similar comments
@cieciurm
Copy link
Contributor Author

Hi @filipw,

Can this be merged or is there something missing?

@cieciurm
Copy link
Contributor Author

Hi @filipw,

Can this be merged or is there something missing?

@cieciurm
Copy link
Contributor Author

cieciurm commented Mar 3, 2022

Hi @filipw,

Can this be merged or is there something missing?

@cieciurm cieciurm requested a review from filipw March 3, 2022 13:50
@cieciurm
Copy link
Contributor Author

cieciurm commented Mar 7, 2022

Hi @filipw ,

Can this be merged or is there something missing?

@filipw filipw enabled auto-merge March 12, 2022 07:16
@filipw filipw merged commit b722a81 into OmniSharp:master Mar 14, 2022
@filipw
Copy link
Member

filipw commented Mar 17, 2022

thanks!

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.

3 participants