You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just created #546 for consideration to implement this.
As additional context, before 3c99d10 (in v1.0.0), the query name was included in the (private) QueryAST member on PreparedQuery. It was hacky to access it, but it was handy for a logging wrapper. With the new code, something along these lines:
Hey @adelsz, would you be open to a PR that adds a
queryName
field toPreparedQuery
?This would be great for logging purposes, as the name of a query is really useful for debugging.
There would only be two required changes:
queryName
field toPreparedQuery
typeDec.query.name
ingenerateDeclarationFile
The text was updated successfully, but these errors were encountered: