这是indexloc提供的服务,不要输入任何密码
Skip to content

Allow Nullable action response #4405

@BenoitRanque

Description

@BenoitRanque

Actions can be defined to have a nullable return type like so:

type Mutation {
  authentication_refresh (
    dummy: String
  ): AuthRefresh
}

Yet returning an empty object or empty body will throw an error.
Nullable return types should either explicitly be disallowed, or not throw errors

Metadata

Metadata

Labels

a/cloudc/actionsRelated to actionsc/serverRelated to serverk/enhancementNew feature or improve an existing featurep/highcandidate for being included in the upcoming sprint

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions