question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FSHTenantInfo Entity and Clean Framework

See original GitHub issue

I know FSHTenantInfo entity is provided and used by a 3rd party package, but doesn’t it go kind of against the framework concept? Maybe having a replica of the ITenantInfo interface to define a Tenant entity in the domain layer and then convert that entity to the Finbuckle one when required? Just a thought … Maybe Finbuckle allows to specifiy a custom TenantInfo so it’s not necessary to use the ITenantInfo from it’s package.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
fretjecommented, Jan 25, 2022

Yep roles and permissions are outside the scope of the application… In most cases this is totally at the edge… E.g. without the right permissions you won’t even hit the endpoint, so you will definitely not get into the application code… the application code is oblivious of roles or permissions (or even users for that matter)… just like with multitenancy.

1reaction
frankyjquinterocommented, Jan 24, 2022

image

Perhaps another way would be to make a mirror class for the user from the domain to the same identity table

Read more comments on GitHub >

github_iconTop Results From Across the Web

Implementation of Entity Framework in Clean Architecture
I am working on Clean Architecture and Entity Framework but confuse why we need to put Entity (database/ Table property Class) in Core ......
Read more >
Baran Açıkgöz's Post
... a clean architecture framework. Our front-end team needed to view crucial user details for each record of a Charge entity in a...
Read more >
Identify Domain Entities for a search tool interface - Clean ...
I am pretty new to Clean Architecture / Onion Achitecture, I actually not sure if the 2 terms are exchangeable. So it pretty...
Read more >
Clean Architecture vs Passing around Entity Framework ...
Hello there,. I am working through my architecture for a home made, single developer, C#, WPF, Entity Framework, MVVM trading app.
Read more >
Clean Architecture Example & Breakdown - Do I use it?
I decided to take a Clean Architecture Example (Template) and give my thoughts about ... Stop using Entity Framework as a DTO provider!...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found