Skip to content

[pigeon][swift] make generated enums CaseIterable #186447

Description

@HannesGitH

instead of

enum FooEnum: Int {
  case foo = 0
  ...

it would be nice to get

enum FooEnum: Int, CaseIterable {
  case foo = 0
  ...

an even broader Idea could be to add a decorator to the dart interface definitions that would allow any interfaces to be added

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listp: pigeonrelated to pigeon messaging codegen toolpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyteam-ecosystemOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions