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
Although we could wait for that fix, I think the call to s/unformhere seems unnecessary since at that point we still have the original value. Doing this did solve the problem for me.
Is my understanding correct? Wanted to confirm before opening a PR.
The text was updated successfully, but these errors were encountered:
Trying to workaround the following issue, waiting for an actual fix:
metosin#262
This path prevents throwing the error:
java.lang.UnsupportedOperationException: nth not supported on this type: PersistentArrayMap
at clojure.lang.RT.nthFrom(RT.java:992)
at clojure.lang.RT.nth(RT.java:940)
at clojure.spec.alpha$or_spec_impl$reify__2112.unform_STAR_(alpha.clj:1101)
at clojure.spec.alpha$unform.invokeStatic(alpha.clj:178)
at clojure.spec.alpha$unform.invoke(alpha.clj:173)
at clojure.spec.alpha$merge_spec_impl$reify__2190$fn__2193.invoke(alpha.clj:1210)
at clojure.core$map$fn__5935.invoke(core.clj:2772)
at clojure.lang.LazySeq.sval(LazySeq.java:42)
at clojure.lang.LazySeq.seq(LazySeq.java:51)
at clojure.lang.RT.seq(RT.java:535)
at clojure.core$seq__5467.invokeStatic(core.clj:139)
at clojure.core$apply.invokeStatic(core.clj:662)
at clojure.core$apply.invoke(core.clj:662)
at clojure.spec.alpha$merge_spec_impl$reify__2190.unform_STAR_(alpha.clj:1210)
at clojure.spec.alpha$unform.invokeStatic(alpha.clj:178)
at clojure.spec.alpha$unform.invoke(alpha.clj:173)
at spec_tools.core.Spec.unform_STAR_(core.cljc:439)
...
throws a
nth not supported on this type: Keyword
exception.This is due to a known issue of clojure spec (https://clojure.atlassian.net/browse/CLJ-2199).
Although we could wait for that fix, I think the call to
s/unform
here seems unnecessary since at that point we still have the original value. Doing this did solve the problem for me.Is my understanding correct? Wanted to confirm before opening a PR.
The text was updated successfully, but these errors were encountered: