Open Closed

Inconsistent Class and File name for generated AppServices #1440


User avatar
0
rkoepferl created

If I use abp suite to genreate me some new entities it also generates AppServices and interfaces.

I used for example 'Project' + 'Projects' (pl) but the generated files are as such:

ProjectAppService.cs

public class ProjectsAppService : ApplicationService, IProjectsAppService

IProjectAppService.cs

public interface IProjectsAppService : IApplicationService

This is inconsistend (regarding file name and first type in file) and stylecop wuld complain. (Plural vs. singular) I wonder if this causes me problems with abp suite in the future if I rename the files or classes.

But I appreciate this to be fixed as a bugfix in the first place!


3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I think there is no problem:

    Entity

  • User Avatar
    0
    rkoepferl created

    Sorry but I dissagree. I have exactly this setup. Project + Projects. But my difference is, I use AuditedEnity instead of FullyAuditedAgregateRoot. I suspect you use a different template in this case ?!

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Why you close the question, Has the problem been solved?

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35