symfony-docker icon indicating copy to clipboard operation
symfony-docker copied to clipboard

DDD Violation: AuthUserInterface.php - Using Symfony Security component inside domain

Open wassimbkd opened this issue 2 years ago • 2 comments

File Name: src/Shared/Domain/Security/AuthUserInterface.php

Violation Description:

Current implementation in the file violates the principles of Domain-Driven Design by extending UserInterface and PasswordAuthenticated and UserInterface from symfony.

wassimbkd avatar Jul 16 '23 16:07 wassimbkd

File Name: src/Shared/Domain/Security/AuthUserInterface.php

Violation Description:

Current implementation in the file violates the principles of Domain-Driven Design by extending UserInterface and PasswordAuthenticated and UserInterface from symfony.

Thanks for the comment. What solution can you suggest to solve this violation?

alejandro-yakovlev avatar Jul 17 '23 11:07 alejandro-yakovlev

image

proKGB1st avatar Aug 19 '23 10:08 proKGB1st