Support aliases at nested level
Closed this issue · 1 comments
oliyh commented
Hi,
Thanks for creating Venia.
Would it be possible to add support for aliases at a nested level? e.g. expected:
(v/graphql-query {:venia/queries [[:employee {:id 1 :active true}
[:name :address
{:query/data [:friends [:name :email]]
:query/alias :best_friend}]]]})
=> "{employee(id:1,active:true){name,address,best_friend:friends{name,email}}}"
But currently returns nil
(can't find any error messages though).
Thanks!
macluck commented
Hey, i'll take a look! :)