pedestal

2020-04-10T09:13:10.070500Z

I'm loving the way I can hook a parameterized function into vase.pedestal using (fern/lit vase/respond like

board.v1/moves (fern/lit vase/respond
                  {:name :board.v1/moves
                   :params [board-id]
                   :body (xiangqi.board-api/moves board-id)
                   :doc "the moves that can be made from this board disposition"})
although it did take a bit of time to figure out that was how it worked

👍 1