hasura / hasura/graphql-engine

allow actions without custom types

Open
#4,381 2 comments 0 reactions 0 assignees View on GitHub
c/actions
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

Currently, I cannot define a custom action where the return type is a primitive type, for example:
```
type Mutation {
## Define your action as a mutation here
myAction (message: String!): String
}
```
This will not work, as the custom type window must have a valid type for the create action button to be active.

![image](https://user-images.githubusercontent.com/25712958/79079611-2f843980-7cde-11ea-802b-038c2b1186fc.png)

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.