metosin / malli

High-performance data-driven data specification library for Clojure/Script.
Eclipse Public License 2.0
1.46k stars 208 forks source link

Malli generates :nilable/any which is not a valid type in clj-kondo #821

Closed borkdude closed 10 months ago

borkdude commented 1 year ago

:any already includes nilables but this generates :nilable/any:

user=> (malli.clj-kondo/accept :maybe :maybe [:any] nil)
:nilable/any

This causes weird output with clj-kondo linting in this issue.

tvaisanen commented 10 months ago

fixed by #843