venia
venia copied to clipboard
Clojure(Script) graphql query generation
Fixes https://github.com/Vincit/venia/issues/46
When passing a sequence to the `graphql-query` function this leads to different behaviour whether the sequence is a `ChunkedSeq` or an `IndexedSeq`. ## Example ``` clojure (require '[venia.core :refer [graphql-query]])...
In order to generate this GraphQL query: ```graphql employees(first: 5, after: $cursor) { edges { node { dbId description } } } ``` Venia requires this syntax: ```clojure [ [:employees...
I don't think it is possible to render the `... on Droid` part of this query using what exists today. ``` query HeroForEpisode($ep: Episode!) { hero(episode: $ep) { name ......
Hello, This PR will fix : - 1 typo in `test/venia/core_test.cljc` Cheers! :robot:
Perhaps just a link to Cljdoc.org? https://cljdoc.org/d/vincit/venia/0.2.5/doc/readme Thanks
It'd be handy to have a fn that went the other way, so that you could take a string with vanilla GQL syntax and parse it back to clj/s/edn data....
Hello @macluck, I would like to use list types in my GraphQL variables, but it looks like venia doesn't support this yet. This PR adds support for this. Would you...
Fixes #35