From 57b62e63220f11c485671d2985cce1ef77cfaab0 Mon Sep 17 00:00:00 2001 From: Mihai Todor Date: Wed, 30 Oct 2024 16:46:23 +0000 Subject: [PATCH] Specify the type for `sr.SoftDelete` and `sr.HardDelete` Note: This is a breaking change, but I guess the impact is minimal. Signed-off-by: Mihai Todor --- pkg/sr/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/sr/api.go b/pkg/sr/api.go index 3f4356c4..c38ce26b 100644 --- a/pkg/sr/api.go +++ b/pkg/sr/api.go @@ -392,10 +392,10 @@ type DeleteHow bool const ( // SoftDelete performs a soft deletion. - SoftDelete = false + SoftDelete DeleteHow = false // HardDelete performs a hard deletion. Values must be soft deleted // before they can be hard deleted. - HardDelete = true + HardDelete DeleteHow = true ) // DeleteSubject deletes the subject. You must soft delete a subject before it