This commit is contained in:
adlerhurst
2025-07-29 09:46:01 +02:00
parent 9c9f3510aa
commit 378fe801b4
9 changed files with 435 additions and 328 deletions

View File

@@ -88,8 +88,8 @@ type OrganizationRepository interface {
Delete(ctx context.Context, id OrgIdentifierCondition, instance_id string) (int64, error)
// Domains returns the domain sub repository for the organization.
// If shouldLoad is true, the domains will be loaded from the database and written to the [Instance].Domains field.
// If shouldLoad is set to true once, the Domains field will be set event if shouldLoad is false in the future.
// If shouldLoad is true, the domains will be loaded from the database and written to the [Organization].Domains field.
// If shouldLoad is set to true once, the Domains field will be set even if shouldLoad is false in the future.
Domains(shouldLoad bool) OrganizationDomainRepository
}