Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

Can not call verb that takes a type that is also an @EnumVariant #5528

@bradleydwyer

Description

@bradleydwyer
  • Declare a type enum (eg: MyTypeEnum)
  • Declare a data type that is a variant of the type enum (eg: MyDataType)
  • Declare a verb that has a request type of the data type
  • Declare another verb that calls that first verb.

Expected:

The call to the second verb would make a request with the json of the data type

Actual:

The call request is actually written as if the verb accepted MyTypeEnum:

{
  "name": "myDataType",
  "value": {
      ... the json I expected ...
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    githubMarks an issue as synced to Github

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions