Fork me on GitHub
#clojure-nl
<
2018-11-29
>
thomas08:11:26

mogge.... geen idee....

helios08:11:31

good morning

niels10:11:50

trying to figure out if it's too early to use compojure-api 2.0 with spec-tools for validation/coercion in production

niels11:11:09

don't really want to go back to Schema when spec is so nice

borkdude11:11:21

FWIW we abandoned compojure-api and still use Schema

thomas11:11:53

@borkdude what are you using instead of compojure?

borkdude11:11:07

@thomas compojure-api != compojure

thomas11:11:33

makes sense... so what do you mean by compojure-api?

borkdude11:11:03

compojure-api is a macro-driven thing around compojure. we are using yada which is a data-driven API library.

borkdude11:11:23

it probably makes sense to also look at reitit (which seems like a followup on compojure-api from the same people)

thomas11:11:41

I hadn't come across compojure-api... just looking at the github page... there seem to be some similarities with Yada, or is that just me?

borkdude11:11:16

there are plenty of libraries like that

borkdude11:11:51

pedestal-api is also one of them

thomas11:11:02

learning something new each day...

gklijs11:11:44

I'm figuring out what it is we need to change on the cloudformation config.

niels14:11:03

@borkdude why did you switch? and did yada solve the things that you weren't getting in compojure-api?

borkdude14:11:33

@nmdrenard we were looking for a more reliable async story and this is what aleph + manifold gives us. also not having to think about HTTP status codes is nice. More data driven. And batteries included (unlike Pedestal): https://twitter.com/borkdude/status/857979807358910464

niels14:11:42

If only I had twitter 🙂

niels14:11:55

Will give it a go.

borkdude14:11:57

it’s a public website?

niels15:11:35

let me rephrase, if only I had twitter, I would have known why you switched, 7 months ago

niels15:11:33

I'll test run both reitit and yada. Really liking compojure-api 2.0 with it's spec coercion though

borkdude15:11:36

1 year + 7 months ago.

borkdude15:11:24

I believe reitit also has spec coercion. It’s made by the same people as compojure-api

niels15:11:59

yes it does, and it works nicely, been talking in the #ring-swagger channel to a metosin dev

niels15:11:46

let's see how far I get with Schema

niels15:11:01

hey, isn't clojure conj starting right about now

borkdude15:11:32

yeah, but is that live streamed, I don’t think?

niels15:11:55

makes a twitter

borkdude15:11:53

I guess you don’t need twitter account for the search, not sure

borkdude15:11:09

it’s Finnish for routes

thomas15:11:12

makes sense... but still no idea on how to pronounce it without saying 'tit' somewhere

thomas16:11:44

I'll think I'll use my Finish accent 😉