Skip to content

Move all synchronous versions of methods from services to a separate helper class #7851

@skoshelev

Description

@skoshelev

In almost all cases, synchronous methods from the LocalizationService, SettingService, and other services are used only during migrations.

We can move all these methods to a separate auxiliary class or service. We can also simplify these methods, since for migrations, for example, there is no point in publishing events like EntityInsertedEvent or EntityDeletedAsync, as well as any other events, since no one will process them at the time of migrations.
Also, in most cases, there is no need to cache data. Thus, we will abandon synchronous methods in our core, leaving only the necessary minimum for migrations.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions