We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a01861 commit c169be7Copy full SHA for c169be7
project.clj
@@ -1,4 +1,4 @@
1
-(defproject floatingpointio/graphql-builder "0.1.7"
+(defproject floatingpointio/graphql-builder "0.1.8"
2
:description "A Clojure(Script) library designed to help with the consuming of GraphQL APIs."
3
:url "https://github.com/retro/graphql-builder"
4
:license {:name "MIT"
src/graphql_builder/parser.clj
@@ -16,5 +16,5 @@
16
(or (io/resource file) file))))
17
18
(defmacro defgraphql [name & files]
19
- `(let [parsed# (parse (str/join "\n" (map read-file [~@files])))]
20
- (def ~name parsed#)))
+ (let [parsed (parse (str/join "\n" (map read-file files)))]
+ `(def ~name ~parsed)))
0 commit comments