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 think this might explain some of the other reported issues. The library appears to simply not support the concept of an interface. In this schema, you can generate values of Person, but not of NameHolder, because the latter has a field whose type is an interface.
Execution error (AssertionError) at clojure.test.check.generators/fmap (generators.cljc:103).
Assert failed: Second arg to fmap must be a generator
(generator? gen)
Evaluation of file repro.clj failed: class clojure.lang.Compiler$CompilerException
The text was updated successfully, but these errors were encountered:
Execution error (AssertionError) at clojure.test.check.generators/fmap (generators.cljc:103).
Assert failed: Second arg to fmap must be a generator
(generator? gen)
I think this might explain some of the other reported issues. The library appears to simply not support the concept of an interface. In this schema, you can generate values of
Person
, but not ofNameHolder
, because the latter has a field whose type is an interface.Schema:
Code:
Result:
The text was updated successfully, but these errors were encountered: