Say, in lacinia when I have a query like this:
query GetStuff($stuff: ID!) {
stuff(thing: $stuff) {
id
}
}
...is there a way to get the top-level query name GetStuff
out of the context?I've been able to get that name when using lacinia-pedestal
:
(-> context :request :body (json/decode true) :query)
I don't know if it's available in the Lacinia context though.