hotfix introspection

For introspection, specialist server is picky on specs.
TODO: provide specialist-server.type fix working with generators
This commit is contained in:
Johannes Lötzsch 2022-03-09 09:43:36 +01:00
parent bcaa84c11c
commit 2b401ee296
1 changed files with 4 additions and 4 deletions

View File

@ -29,10 +29,10 @@
(into {}))))]
(map (mapping->fn mapping) offers)))
(def t_boolean (s/with-gen t/boolean #(s/gen boolean?)))
(def t_string (s/with-gen t/string #(s/gen string?)))
(s/def ::accessible (s/nilable t_boolean))
(s/def ::note (s/nilable t_string))
(s/def ::t_boolean t/boolean #_ (s/with-gen t/boolean #(s/gen boolean?)))
(s/def ::t_string t/string #_ (s/with-gen t/string #(s/gen string?)))
(s/def ::accessible (s/nilable ::t_boolean))
(s/def ::note (s/nilable ::t_string))
(s/def ::offer (s/keys :req-un [::accessible ::note]))
(comment