hasura / hasura/graphql-engine

Custom Postgres stored procedure/ function are tracking under mutation root rather then query root

Open
#7,659 2 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.