Feature request: parse raw GQL back to clj/s data
Opened this issue · 2 comments
eggsyntax commented
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. Could open up some nice opportunities for testing, too, since you could confirm that eg (v/data (v/graphql-query FOO))
would always be a no-op.
But purely a suggestion, and may be out of scope for what you want for venia.
ondrs commented
@eggsyntax I wrote it
https://github.com/ondrs/reverse-venia
eggsyntax commented
Cool! Thanks for letting me know.