Skip to content

Automatic Resource Name Casing #2

@ChrisTalman

Description

@ChrisTalman

Introduce the option for the library to automatically convert resource names from camelCase to conventional REST casing.

For non-parameters, this would be dash-case. For parameters, this would be snake_case.

By default, this behaviour could be disabled. It could be enabled by specifying one or more options to a RestServer instance.

This feature would make it easier to use camelCase in ordinary code, as is conventional in JavaScript, while at the same time having the actual resource names at runtime be in conventional REST casing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions