graphql

lewix 2019-07-31T21:07:18.010800Z

How’s graphql with clojure, coming from node?

lewix 2019-08-01T17:06:35.014800Z

wow

lewix 2019-08-01T17:07:03.015Z

@hlship fellow lewis. how has it been hiring clojure dev at walmart

hlship 2019-08-01T17:11:08.015200Z

We have a pretty intensive hiring process, that includes take home work and a half day of remote pairing. We ended up with some great candidates, and then had to deal with the painful process of narrowing it down to the two slots we had open.

2019-07-31T21:15:09.010900Z

as a backend? Take a look at lacinia: https://lacinia.readthedocs.io/en/latest/

2019-07-31T21:15:19.011100Z

I really like it as a library

lewix 2019-07-31T21:16:22.011300Z

i see so it’s functional and working well

lewix 2019-07-31T21:16:30.011500Z

any disadvantage vs advantage?

2019-07-31T21:18:29.011700Z

well; I can only compare lacinia against the graphql-ruby library. What I like in lacinia is that the schema is ‘just data’ and that schema & resolvers are properly seperated

💯 1
lewix 2019-07-31T21:19:06.011900Z

i see

2019-07-31T21:19:16.012100Z

This; unlike the ruby implementation, allows for easy (unit) testing of resolvers as they are just functions & reuse of resolvers if you wanted to

lewix 2019-07-31T21:20:36.012400Z

hmm interesting

lewix 2019-07-31T21:20:54.012600Z

is that a web app fully clojure?

2019-07-31T21:21:16.012800Z

sorry; what do you mean?

2019-07-31T21:22:25.013Z

we (= at my company) are using Lacinia in our Clojure backends. We have both JavaScript as well as ClojureScript consumers of this GraphQL API.

lewix 2019-07-31T21:25:32.013400Z

is that a company you work for or yours?

lewix 2019-07-31T21:25:34.013600Z

(i’ve never understood why clojure didnt get adopted fully by big companies, i even heard of some going away from it )

2019-07-31T21:28:35.013800Z

well, the one I work at. Lacinia itself is product of Walmart Labs and I believe is used in production there. But don’t quote me on that 🙂

lewix 2019-07-31T21:35:57.014Z

i see

lewix 2019-07-31T21:35:58.014200Z

haha

hlship 2019-07-31T22:22:30.014400Z

Walmart uses and maintains Lacinia. We use it in production, around 17K req/minute right now.