Fork me on GitHub
#fulcro
<
2018-08-01
>
myguidingstar04:08:10

@arohner Walkable does support postgres. Actually both two walkable demo apps use postgresql (see https://github.com/walkable-server/realworld-fulcro and https://github.com/walkable-server/realworld ). There's also a namespace that you should require to be able to use some postgres functions in your walkable queries https://github.com/walkable-server/walkable/blob/master/src/walkable/sql_query_builder/impl/postgres.cljc

myguidingstar04:08:41

too bad I don't have time for walkable until next month. Once I implement compilation cache (meaning compile from clojure data structure to sql strings), walkable should be quite superior to other sql libraries out there

myguidingstar04:08:38

right now performance is a problem, but it's quite productive for MVP kind of apps

myguidingstar04:08:33

some of documentation is missing, too. Hit me on #walkable if you come up with some sql queries that you find hard to express with walkable

bbss11:08:33

When starting the template server using (go) I get the very descriptive but still confusing error:

ERROR [fulcro.util:133] : Failed to load functions from org.httpkit.server. Fulcro does not have hard dependencies on that library, and you must explicitly add the dependency to your project.
FATAL [fulcro.easy-server:188] : Failed to start web server  clojure.lang.ExceptionInfo: Dynamically loaded function not found. You forgot to add a dependency to your classpath. {:sym org.httpkit.server/run-server}
http-kit is in the project.clj :dependencies. lein classpath also shows http-kit is on the path.

bbss11:08:05

It looks like that was not the real error, had to add the java9 java-opts to project.clj.

currentoor19:08:35

@bbss I strongly recommend you use java8

currentoor19:08:51

i tried to make java9 work myself

currentoor19:08:08

but it leads to very misleading errors

currentoor19:08:24

the clojure ecosystem isn’t exactly ready for java9 yet

bbss19:08:02

@currentoor hmm okay I hadn't heard of that complaint yet. I've been using java 9 quite a bit and did have some issues with errors, but not that it made me think they were wrong.

souenzzo20:08:44

java9/10 is OK you will need to add :jvm-opts ["--add-modules" "java.xml.bind"] on lein