om-next

sova-soars-the-sora 2017-01-14T04:53:43.000285Z

Okay my app layout: Backend.clj talks to Datomic and Does Sente Sockets. Frontend.clj has Om.next and an App-state atom. Presumably now I just link Datomic-updates to Sente, merge the new data with the app-state-atom when it's received on the front end and... realtime! am i missing anything?

stijn 2017-01-14T13:29:15.000286Z

How would you go about implementing authorization in om.next queries on the backend (like http://graphql.org/learn/authorization/) using datomic?

stijn 2017-01-14T13:33:20.000288Z

what i've already found: 1/ filtered db like in https://youtu.be/7lm3K8zVOdY?t=720, 2/ limiting the pull spec you can send in through the query (but that also limits flexibility on the client side)

stijn 2017-01-14T13:33:39.000289Z

anyone any experience?

sova-soars-the-sora 2017-01-14T22:48:02.000290Z

@stijn that is an excellent question. My first question is how does your om.next talk to your backend?