Could you kindly help me understand the meaning of the below mentioned report in guardrails? Specifically it's hard for me to grok why the return type is considered to be LazySeq. I would expect (maybe wrongfully 🙈) guardrails to pinpoint the exact offending entry in returned vector like (io.blockether.datomic.core/join-migrations ...) => [entry-not-matching-schema].
Reproduction
Let's take into consideration the following schema in malli style:
Dear @awkay,
Could you kindly help me understand the meaning of the below mentioned report in
guardrails
? Specifically it's hard for me to grok why the return type is considered to beLazySeq
. I would expect (maybe wrongfully 🙈)guardrails
to pinpoint the exact offending entry in returned vector like(io.blockether.datomic.core/join-migrations ...) => [entry-not-matching-schema]
.Reproduction
Let's take into consideration the following schema in malli style:
and let us define a simple function that takes
migrations
as a varargs and normalises them to vector ofmigrations
now I would expect guardrails to report the inferred type as vector and not a lazy-seq.
Guardrails Report
(please forgive me Calva comment marks)
Hope this message finds you in good health. Thank you for all your hard work on
guardrails
. Cheers! Karol