om-next

sova-soars-the-sora 2016-12-26T04:33:40.000120Z

Hi, I am very excited to play with om.next. I'm wondering about the basics: What's the difference between IQuery and the Params? Is my IQuery just datomic pull syntax for all the items I want? What's the defining difference between the two, if state-able briefly?

2016-12-26T08:22:34.000121Z

IQuery is like re-frame subscription, you subscribe (or in om terms a read query) the properties(aka the data) that is passed down from parent component (or the app-state/atom from the root component). IQueryParams is basically a way to add parameters to your read, looks bit complicated but this is completly based on the pull syntax (adding parameters to mutations is btw much simpler). So you can do om/IQuery [this] '[(:data {:param1 ?param1 :param2 ?param2}] then you can add data to the question mark symbols from om/IQueryParams.

vinnyataide 2016-12-26T17:02:59.000124Z

is there a simple way to crudify an entity in my server parser?