Fork me on GitHub
#ring-swagger
<
2018-03-11
>
jmckitrick14:03:25

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?

juhoteperi15:03:08

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

juhoteperi15:03:36

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

jmckitrick15:03:46

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.

jmckitrick15:03:39

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

juhoteperi15:03:28

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.