ardalis / CleanArchitecture

Clean Architecture Solution Template: A starting point for Clean Architecture with ASP.NET Core
MIT License
15.24k stars 2.67k forks source link

GetContributorByIdRequest - Filename should probably match the classname #670

Closed sadukie closed 5 months ago

sadukie commented 5 months ago

Steps to Reproduce:

  1. Create a new Clean Architecture solution.
  2. Navigate to Web solution > Contributors > GetById.GetProjectByIdRequest.cs
  3. Notice that the class is GetContributorByIdRequest.

Seeing that the rest of the endpoints in that folder are contributor-related and the route is contributor-related, I would recommend renaming GetById.GetProjectByIdRequest.cs to GetById.GetContributorByIdRequest.cs.