ring-swagger & compojure-api
jmckitrick 2018-03-11T14:55:25.000011Z

I recently pitched our CTO on the value of spec, and I see that compojure-api 2.0.0 will use spec for coercion and validation. I’d rather not start with prismatic schema then migrate to spec. Is there a timeline on a release? Or is the alpha branch usable for small webservice projects?

juhoteperi 2018-03-11T15:09:08.000010Z

@jmckitrick Yes, it is stable. We are using C-api 2.0 on production on several projects.

juhoteperi 2018-03-11T15:09:36.000030Z

It is alpha is due to spec being alpha, but C-api itself is stable and probably won't change much.

jmckitrick 2018-03-11T15:17:46.000042Z

That’s good news, @juhoteperi I assume the migration guide is current? I’m trying some of these technologies for the first time, so I’m hoping a Luminus project can be easily upgraded to 2.0 for a POC.

jmckitrick 2018-03-11T15:28:39.000040Z

Was it a challenge moving from ring-middleware-format to Muuntaja?

juhoteperi 2018-03-11T15:30:28.000076Z

If you don't set any r-m-f options, you probably don't need to do anything. If you have some r-m-f options (`:format` on defapi/api) you need to update those.