fullstackhero / blazor-starter-kit

Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
MIT License
3.48k stars 730 forks source link

[question] How to extend identity model appropriately #372

Open scarybook opened 2 years ago

scarybook commented 2 years ago

In reference to current project architecture where should I create new entity model when I want to create sth like Department Entity? Each of department will have list of Users so creating department model class in Domain project will cause circular dependency for Infrastructure project.

Any suggestions how to deal with it?

DharmilAsawla commented 2 years ago

Have the same question 🙋 but probably use the discussions tab to ask questions please, thanks!

Zigimun commented 2 years ago

This is a must in an enterprise application. We should find the best option to create this. Since many applications restricts the views based on the department you're in, and mybe you can have multiple departments....