stevejgordon / CorrelationId

An ASP.NET Core middleware component which synchronises a correlation ID for cross API request logging.
MIT License
558 stars 106 forks source link

Return ServiceCollection instead of void to allow chaining #23

Closed tdabasinskas closed 6 years ago

tdabasinskas commented 6 years ago

It's good practice for the extension methods to return the same type they are extending instead of returning void, since this allows chaining the calls.

stevejgordon commented 6 years ago

Good catch, thanks!

altso commented 5 years ago

@stevejgordon do you plan to release it any time soon?