Skip to content

Recommendation for dasherizing (kebab-case-ing) namespaced object, such as Admin::User #850

Closed
@bf4

Description

@bf4

JSON API recommends dasherized keys, so an AdminUser would be represented by admin-user. But, does/should JSON API have an opinion on namespaced objects? That Admin::User would be dasherized as admin/user? (That's the result in Rails of "Admin::User".underscore.dasherize)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions