Class EnforcingEntityDeleter<TFields, TID, TViewerContext, TEntity, TPrivacyPolicy, TSelectedFields>

Enforcing entity deleter. All deletes through this deleter will throw if authorization is not successful.

Type Parameters

Constructors

Methods

Constructors

Methods

  • Delete the entity after authorizing against delete privacy rules. The entity is invalidated in all caches. Throws when delete is not successful.

    Returns Promise<void>