You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a spec which is giving the error: java.lang.ClassCastException: clojure.lang.PersistentList cannot be cast to clojure.lang.Named
when attempting to load the swagger UI for a compojure-api app.
The failing spec appears to be one that uses conditional keys in a :req parameter of a clojure.spec/keys declaration.
Environment:
[org.clojure/clojure "1.9.0-alpha17"]
[metosin//compojure-api "2.0.0-alpha7"]
[metosin/spec-tools "0.4.0-SNAPSHOT"]
The text was updated successfully, but these errors were encountered:
Problem was that the or and and were not parsed correctly under s/keys required keys. Should be fixed now, could you verify with [metosin/spec-tools "spec-tools-0.4.0-20171007.191128-3"].
I have a spec which is giving the error:
java.lang.ClassCastException: clojure.lang.PersistentList cannot be cast to clojure.lang.Named
when attempting to load the swagger UI for a compojure-api app.
The failing spec appears to be one that uses conditional keys in a
:req
parameter of aclojure.spec/keys
declaration.Environment:
[org.clojure/clojure "1.9.0-alpha17"]
[metosin//compojure-api "2.0.0-alpha7"]
[metosin/spec-tools "0.4.0-SNAPSHOT"]
The text was updated successfully, but these errors were encountered: