Fork me on GitHub
#luminus
<
2016-09-02
>
eslachance06:09:08

So uhm... I'm attempting to follow the docs/guestbook.md tutorial in order to get started. I'm 95% sure I have not skipped a step but when I refresh the page at the end, I get a RuntimeException

eslachance06:09:47

Did I miss something?

eslachance06:09:44

(also doesn't recognize v/required even though [guestbook.db.core :as db] is in the requires)

curtis.summers14:09:11

@eslachance Since HugSQL uses the def-db-fns macro to define functions on the fly, Cursive doesn't initially know how to resolve these functions. However, I think (though I haven't tried), you can tell Cursive to treat the def-db-fns as a def.

eslachance15:09:41

@curtis.summers The issue isn't that Cursive doesn't see it but rather that lein run isn't reading it either, though.