When invoked with GET /events?user-ids=1 (i.e. with missing max-age param), I get a class cast exception thrown from cs/split.
This happens because the old code was calling conform on result of st/coerce, which means that the string has already been coerced into a vector of strings.
… coerced
in my situation, i am using a spec like this to transform the parameter:
referenced like this
When invoked with GET /events?user-ids=1 (i.e. with missing max-age param), I get a class cast exception thrown from
cs/split
. This happens because the old code was callingconform
on result ofst/coerce
, which means that the string has already been coerced into a vector of strings.