Closed satano closed 4 months ago
Thanks for opening this pull request! If you have implemented new functions, write about them in the readme file.
The updates across several files involve transitioning from traditional != null
checks to the modern is not null
syntax for improved readability and alignment with contemporary C# practices. Additionally, there are import optimizations and order adjustments in some files, with the inclusion of specific Microsoft OpenAPI imports where necessary.
Files/Directories | Change Summary |
---|---|
demo/OrderService/... |
Updated SwaggerDefaultValues.cs to use Microsoft.OpenApi.Models and revised null checks to is not null . |
demo/ProjectService/... |
Modified null check from project != null to project is not null in ProjectsService.cs . |
src/MMLib.SwaggerForOcelot/... |
Changed multiple source files to update null checks from != null to is not null and modified import statements for swashbuckle and openapi. |
tests/MMLib.SwaggerForOcelot/... |
Replaced parameters != null with parameters is not null in AggregateRouteDocumentationGeneratorShould.cs . |
In the code paths deep, where logic flows,
A rabbit hopped with nimble toes.
From!=
tois not
, it turned the way,
Modern C# shines, clears the day.
Imports danced in ordered line,
Code refined, a grand design.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
We would appreciate it if you could provide us with more info about this issue/pr!
Summary by CodeRabbit
Refactor
is not null
syntax for improved readability and consistency.Chores