Skip to content

Disable renamer by default. #111

@iobaixas

Description

@iobaixas

I'm thinking on disabling the property renamer by default and providing a bundled SnakeToCamelRenamer that can be enabled by setting:

restmod.model('url', {
  RENAMER: 'snake_to_camel'
});

I think that having a default renamer is confusing (and counter intuitive) beyond the benefits of being a good convention, an in the interest of library ease of adoption this should be optional. What do you think @blackjid? This would be a nice subject for a poll...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions