Fork me on GitHub
#om
<
2016-06-18
>
isak00:06:06

yeah it is, you have to put those under keys

whitecoop02:06:43

@isak: I just noticed that I had some typos in my message, so I just edited it. If I include the :app/counter key when I transact! (`(om/transact! this '[(counter/inc) :app/counter]`), the component updates, but I still get the "No path" error.

isak02:06:33

@whitecoop: yea the root query is bad

isak02:06:37

here is an example of a valid one

isak02:06:43

(defui RootView
  static om/IQuery
  (query [this]
    (let [subquery (om/get-query Person)]
      `[{:list/one ~subquery} {:list/two ~subquery}]))

isak02:06:26

the :list/one thing is important, or you will ruin the query path