Skip to content

Support for tenant store #104

@etiennecl

Description

@etiennecl

I know the purpose of this library is to support DDD, CQRS and event sourcing. I was wondering where it would make more sense to extend this library in order to add Tenant Support has the StoreProvider is already inside the Base project and the EF projects already implement the StoreProvider interface.

My first guess would be to add a TenantId to my Aggregates, entities, commands, and events, but I don't see how I could enforce this when creating a new AggregateRoot or applying a global filter in the StoreProvider in order to scope the data of the current tenant?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions