Skip to content

Instantly share code, notes, and snippets.

@penland365
Last active January 28, 2019 21:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save penland365/8943d4d2504647af2269e2ff25b1e5c2 to your computer and use it in GitHub Desktop.
Save penland365/8943d4d2504647af2269e2ff25b1e5c2 to your computer and use it in GitHub Desktop.
(cons (clojure graphql))

(cons (clojure graphql))

Graphqls' declarative schemas and stringified strong typing cons* together perfectly with Clojure's dynamic typing, homoiconicity**, and easy concurrency.

We will take our first steps into the Clojure ecosystem and how it can work closely with Graphql. We will show how to create a simple Clojure app, how to read a LISP, how to understand de-structuring, and how to read an EDN, extensible data notation, file.

We will then dip our toes into Lacinia, the Graphql library from Walmart Labs. We will start with a simple query to our static resolver, and then rapidly add more information to the schema. If time allows, we will pull data from 2 separate sources, showcasing the easy of concurrency in Clojure.

  • cons is short for construct, a term dating to the late 50's for adding two items to a List
    • Homoiconicity, code as data, data is code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment