Skip to content

Instantly share code, notes, and snippets.

@IwanKaramazow
Last active February 13, 2016 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IwanKaramazow/3047ae2f0a34733a10ab to your computer and use it in GitHub Desktop.
Save IwanKaramazow/3047ae2f0a34733a10ab to your computer and use it in GitHub Desktop.
om/set-query! original query
(defui RootView
static om/IQuery
(query [_]
[:property])
...)
(om/set-query! RootView {:query (om/get-query RootView)})
;; => #object[Error Error: Assert failed: Query violation, [object Object] reuses function etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment