Skip to content

[Serializer] CamelCaseToSnakeCaseNameConverter upper camel case not working #21399

@markusu49

Description

@markusu49
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version all supported

The CamelCaseToSnakeCaseNameConverter provides a constructor argument to specify whether to use lower camel case or not. Denormalizing upper camel case works fine, but normalizing ThisIsATest returns _this_is_a_test (should be this_is_a_test).

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