Skip to content

BC break from 4.1.2 if you have badly named entity? #7067

Closed
@wtfred

Description

@wtfred

API Platform version(s) affected: 4.1.2 and more

Description
I upgraded this morning from api-platform/core 4.0.16 to api-platform/core 4.1.6, and i got 2 routes "disappeared"
Routes where from 2 differents entities, Test.php and OneOffTest.php
I found the commit causing this was this one ba57714#diff-0d56a84d21cd4b276d12f866fb873f975a4ceb373ad27b902802f23c8f32fb76 introduced in api-platform/core v4.1.2

So yeah, i know my naming is not the best, but after all, it is for an API managing tests from students.

Is there some strict naming convention in PHP, Symfony or Api platform preventing me for having an entity named FooTest.php?

Should i rename my entities, or does this regex needs to be a bit more permissive?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions