8000 doctrine/inflector deprecation is breaking change (plural of 'equipment') · Issue #5957 · api-platform/core · GitHub
[go: up one dir, main page]

Skip to content 8000
doctrine/inflector deprecation is breaking change (plural of 'equipment') #5957
@acirulis

Description

@acirulis

API Platform version(s) affected: 3.2.4

Description
There is a deprecation:

Using doctrine/inflector is deprecated since API Platform 3.2 and will be removed in API Platform 4. Use symfony/string instead. Run "composer require symfony/string" and set "keep_legacy_inflector" to false in config.

After implementing it, some routes will change.

Specific example:

Before:
/api/equipment
After
/api/equipments

According to https://www.britannica.com/dictionary/eb/qa/equipments-equipment-noncount-mass-noun-singular-plural
correct plural form of equipment is equipment. It also feels natural but I am not a native speaker.

Should I submit this as issue for symfony/string? Or there are other considerations? Thanks!

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

      0