Skip to content

Commit

Permalink
Merge pull request #850 from mihaitodor/add-type-to-soft-and-hard-delete
Browse files Browse the repository at this point in the history
Specify the type for `sr.SoftDelete` and `sr.HardDelete`
  • Loading branch information
twmb authored Nov 11, 2024
2 parents 35267f9 + 57b62e6 commit 81ceb1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/sr/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 81ceb1a

Please sign in to comment.