mercurius-js / cache

Adds an in-process caching layer to Mercurius. Federation is fully supported.
MIT License
106 stars 19 forks source link

make report not assume query is named "Query" #162

Closed ewasserman closed 9 months ago

ewasserman commented 10 months ago

The cache report was assuming the name of the query is literally "Query". This fix changes that to use the name of the query from the schema.

simone-sanfratello commented 10 months ago

cool solution

can you add unit test?