Closed acron0 closed 5 years ago
Previously, the following code would not transform:
(def my-set #{:foo :bar :baz}) (s/def ::a my-set) (s/def ::test (s/keys :req-un [::a])) (schema/transform ::test)
It would complain about ::a not being transformable, and this is because as spec-tools walked the specs it didn't know what to do with this symbol. This is pretty unfortunate because this is a common pattern. This PR resolves this shortcoming.
::a
Previously, the following code would not transform:
It would complain about
::a
not being transformable, and this is because as spec-tools walked the specs it didn't know what to do with this symbol. This is pretty unfortunate because this is a common pattern. This PR resolves this shortcoming.