hasura / hasura/graphql-engine
Query action not showing up in query_root
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
### Version Information
Server Version: 2.12.1
CLI Version (for CLI related issue): 2.12.0
### Environment
Docker
### What is the current behaviour?
After creating a new query action, it doesn't get added to the "query_root"
### What is the expected behaviour?
The query should be added to "query_root" automatically after it has been created, just like it does for mutation actions.
### How to reproduce the issue?
1. Using the above-specified versions, setup a new Hasura project.
2. Create a new query action.
3. Try to query the graphql API for the added query action.
### Screenshots or Screencast


### Keywords
query
action
query action
Contributor guide
Research direction
Reproduce the issue with Hasura server 2.12.1 and CLI 2.12.0 by creating a query action, then query the GraphQL API for it in query_root. Trace the query-action creation path and compare it with mutation-action handling. Done means a newly created query action appears in query_root automatically, with the behavior verified through the reproduction steps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100