Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibly declare UI's query as future clojure.spec data format #47

Open
petterik opened this issue Nov 2, 2018 · 0 comments
Open

Possibly declare UI's query as future clojure.spec data format #47

petterik opened this issue Nov 2, 2018 · 0 comments

Comments

@petterik
Copy link
Owner

petterik commented Nov 2, 2018

The big idea of om.next (imo) is that UI's declare their data requirements as data. Datomic's pull pattern syntax was a good way to achieve this. Depending on how clojure.spec decides to express spec's as data (which has been hinted now for a while), we may want to declare our queries in that format to get leverage from all the tools that are built upon that data format.

We could also check the clojure.spec registry whether a query key (root or field) is spec'ed and do validation on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant