Fork me on GitHub
Mikko Nylén05:11:45

Yes! Turns out our spec wasn't spec at all, but more like schema-spec-hybrid. Nobody just noticed because it was only used for swagger generation... and I've never used spec before. 🙂

Mikko Nylén05:11:48

And then after the upgrade the :query-params was also used for coercion & validation.

Mikko Nylén05:11:52

Should this work with the spec coercion? I have :query-params [ids :- [int?]], but the request seems to only pass validation if there's more than one id.

Mikko Nylén05:11:10

I.e. /endpoint?ids=123 doesn't work. But /endpoint?ids=123&ids=234 works.

Mikko Nylén06:11:50

Switched back to good old schema.core. Everything works without hassle. 😛