We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9832b4e commit 0cee8d1Copy full SHA for 0cee8d1
clojure/wheel/src/wheel/marketplace/channel.clj
@@ -1,5 +1,5 @@
1
(ns wheel.marketplace.channel
2
(:require [clojure.spec.alpha :as s]))
3
4
-(s/def ::id pos-int?)
+(s/def ::id (complement clojure.string/blank?))
5
(s/def ::name #{:tata-cliq :amazon :flipkart})
0 commit comments