Skip to content

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy