hasura / hasura/graphql-engine
Custom Postgres stored procedure/ function are tracking under mutation root rather then query root
Open
a/data/postgres
k/bug
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
### Version Information
Server Version:
CLI Version : v2.0.8-cloud.3
### Environment
Cloud
### What is the expected behaviour?
I have created one stored procedure in postgres and enabled tracking on it. In this stored i am returning setoff one table. It contains a simple select query.
My expectation was that it should be tracked in query root so i can do aggregate and everything in it but it getting tracked in query root.
### Keywords
Custom function tracking
### What is the current behaviour?
Currently custom function is getting tracked in mutation root.
Contributor guide
Assessment
This issue has not been assessed yet.