walkable-server / walkable

A Clojure(script) SQL library for building APIs: Datomic® (GraphQL-ish) pull syntax, data driven configuration, dynamic filtering with relations in mind
https://walkable.gitlab.io/
Eclipse Public License 2.0
444 stars 15 forks source link

floor-plan/compile-floor-plan always gives NullPointerException #162

Closed zilti closed 4 years ago

zilti commented 4 years ago

walkable 1.2.0-SNAPSHOT always gives an NPE when calling floor-plan/compile-floor-plan.

I tried to compile the {:idents {:people/all "person"}} floor plan from the docs, it fails.

myguidingstar commented 4 years ago

Walkable is not producing helpful error messages right now. I'm sorry about that. There's a note in the floor plan doc: For clarity, only relevant parts of the floor-plan are included But the doc doesn't say which keys are required in a floor plan map.

I guess you miss emitter. Please see its doc and add it to your floor plan.