Closed tvaisanen closed 1 year ago
Fixes issue #860
Invalid entries should not be accepted.
For example the following should fail.
(malli.core/schema [:map [:foo]]) ;; => :map
The issue was that malli.core/-eager-entry-parser's loop iterator was not incremented properly when given entry such as [:foo]. This was caused by malli.core/-parse-entry returning the same iterator i value that it was given.
malli.core/-eager-entry-parser
[:foo]
malli.core/-parse-entry
i
Fail instead of "skipping" the entry.
Fixes issue #860
Invalid entries should not be accepted.
For example the following should fail.
The issue was that
malli.core/-eager-entry-parser
's loop iterator was not incremented properly when given entry such as[:foo]
. This was caused bymalli.core/-parse-entry
returning the same iteratori
value that it was given.Fail instead of "skipping" the entry.