Skip to content

[REQ] Dart use lowerCamelCase for enum values #21227

Open
@Cantasura

Description

@Cantasura

Is your feature request related to a problem? Please describe.

This is could be considered a feature or a bug tbh.
The generated dart-dio client uses the "old" Dart style where the enum values could be in screming case.
With the latest style guide of Dart (https://dart.dev/effective-dart/style#do-name-other-identifiers-using-lowercamelcase) it is best practise to use lowerCamelCase.
Still it is not a "must do" to use lowerCamelCase for enum values but is preferred.

Describe the solution you'd like

There for I'd like to use a template option parameter to support the lowerCamelCase.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions