-
-
Notifications
You must be signed in to change notification settings - Fork 901
BC break from 4.1.2 if you have badly named entity? #7067
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
does my patch resolves your issue? ddc2734 |
Yes, thanks! (That being said, problem could still happens on Laravel with entities named like mine, no?) |
Actually if I don't do this there are some issues as we will load |
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
andOneOffTest.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
The text was updated successfully, but these errors were encountered: