Skip to content
Permalink
Browse files

Support removing specs from Clojurescript build

  • Loading branch information...
wilkerlucio committed Jun 27, 2019
1 parent 024be03 commit 7dfa7e6ac33d9c3fe58589d433ff92fafda1caef
Showing with 282 additions and 286 deletions.
  1. +5 −0 CHANGELOG.md
  2. +10 −0 README.adoc
  3. +267 −286 src/edn_query_language/core.cljc
@@ -0,0 +1,5 @@
# Changelog

## [0.0.4]
- focus-subquery* is public
- support removing specs from Clojurescript build
@@ -707,6 +707,16 @@ One more example changing many definitions:
If you wanna see an even more advanced usage, you can check link:https://github.com/wilkerlucio/pathom/blob/master/src/com/wsscode/pathom/connect/gen.cljc[Pathom connect generator], which
uses the Pathom connect index to generate queries that are valid according to the user property graph.

==== Removing specs on Clojurescript

If you are not using the specs provided by Pathom you can free some build space by
eliding then. To do that you need to set the Clojurescript compiler options with:

[source,clojure]
----
{:closure-defines {edn-query-language.core.INCLUDE_SPECS false}}
----

=== AST Encode/Decode

To convert between query and AST, EQL provides the helper functions `eql/query->ast` and

0 comments on commit 7dfa7e6

Please sign in to comment.
You can’t perform that action at this time.