Skip to content

Add specs and functions for deleting multiple objects#3

Open
jramosg wants to merge 1 commit intogethop-dev:masterfrom
jramosg:master
Open

Add specs and functions for deleting multiple objects#3
jramosg wants to merge 1 commit intogethop-dev:masterfrom
jramosg:master

Conversation

@jramosg
Copy link

@jramosg jramosg commented Sep 21, 2025

No description provided.

:opt-un [::error-details]))

(s/def ::object-keys (s/coll-of ::object-id))
(s/def ::deleted-count (s/and integer? #(>= % 0)))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be better expressed as:

Suggested change
(s/def ::deleted-count (s/and integer? #(>= % 0)))
(s/def ::deleted-count nat-int?)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed, eskerrik asko!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants