hasura / hasura/graphql-engine
console: codegen fails for actions with scalar output
Open
c/console
k/bug
t/gql-services
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
### Version Information
Server Version: v2.6.0
### Environment
All
### What is the expected behaviour?
Action codegen should work for actions returning scalars
### Keywords
### What is the current behaviour?
The console throws an error while generating code
### How to reproduce the issue?
1. Add the following action
```graphql
type Query {
action_name(
actionInput: [String!]
): String!
}
```
2. Head to the codegen tab
### Screenshots or Screencast

Contributor guide
Assessment
This issue has not been assessed yet.