Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid using services during installation of nopCommerce #7440

Open
skoshelev opened this issue Dec 3, 2024 · 0 comments
Open

Avoid using services during installation of nopCommerce #7440

skoshelev opened this issue Dec 3, 2024 · 0 comments

Comments

@skoshelev
Copy link
Contributor

Most services depend on the DB in one way or another, so we can't use them in the standard way. Instead, we must resolve them via context, which is not a good practice. It will be safer to get rid of using services by duplicating part of the code, as we have already done with the ValidateSeNameAsync method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant