walmartlabs/lacinia

[1.0] Invariant queries still indicate that they need preparation

hlship opened this issue · 0 comments

An invariant query is one that has no variables or directives; such a query will be the same before and after it is prepared, and our servers do some extra caching of a parsed query in that case.

I noticed that queries that should be invariant are not, and still show as needing to be prepared. This is a performance issue.