Thanks for your reply, it helps a lot!
> My guess is that you may have started your project with the API Platform distribution?
I am indeed using the distribution instead of bundle installation.
> I think you mean ...
... I'm waiting for api-platform and oauth2. :)
... what about "API Platform: OAuth2 Server" tutorial ? ...
No-Docker API Platform tutorial. Finally! #dockersucks ...
Hi,
Why api platform now gives duplicate properties from hydra docs?
For example, my expected JSON POST input looks like this:
```
{
"first_name": "string",
"last_name": "string",
"email": "string ...
Hey @Carlos-33!
This smells like it's related to the new Doctrine ORM 3 and DBAL version 4. I believe API Platform 3.2.16 should now work... which was just released 2 days ago https://github.com/api-platform/core ...
Historically API Platform would essentially treat PUT operations as PATCH operations and be used for partially updating resources. I believe in latest versions of API Platform the PUT operation now actually acts like a ...
Hey @Ammar!
I don't know the specifics about why the query is done this way, but yes, I believe in the latest version of API Platform you can override this - see https://github.com/api-platform/core/pull/5732 ...
And it was very useful to me. Thank you very much. Might be good to add that to the course or even to the Api Platform docs. I know a lot of people who implemented the version from the Api Platform 2 Course on ...
... Loading. But I have to admit that in my first project with API Platform I encountered an unfavorable combination, combined with quite interesting bugs that e.g. made a difference on which platform the project was built... So I am not completly sure...
Hey @Aurelien-A!
It's funny you ask about that - it was maybe the ONE thing I didn't include in the API Platform 3 tutorial and at least 2 people have asked about it :P. Here is the other conversation - https ...
... same aspect searched here https://github.com/api-platform/core/issues/4672.
I've tried to create an extension for the paginator but the class https://github.com/api-platform/core/blob/main/src/Doctrine/Orm/Extension/PaginationExtension.php is final. Have any ideas plz ?
Hey MolloKhan,
Thank you for the answer.
I'm just starting a new project and I'm confused with the version of the API-platform the I will work with, because I want to choose a stable and well documented version.
Also ...
Hey DustinUtecht,
yes the repository not the current version. It is regarding the error from Nikrou. He use symfony v6.0 and api Platform v2.7 because it seems that api platform 3.0 is not available for symfony 6.0 ...
Hey M_Holstein !
That's an excellent question! And the answer has a lot more to do with "how do I functionally test a bundle" than it does with API Platform. Here is an example from another tutorial - https ...
Hey ahmedbhs!
I think what you want is this: https://symfony.com/doc/current/bundles/prepend_extension.html
The problem with a compiler pass is that they are *really* meant to modify *services* that API Platform ...
... search filter (in my opinion). Here is an issue about this - https://github.com/api-platform/api-platform/issues/639 - and a gist that will hopefully help: https://gist.github.com/axelvnk/edf879af5c7dbd9616a4eeb77c7181a3
Cheers!
... "}},
* },
* }
* )
```
and i have 'enhancement:read' in almost all fields and in relation also, and i thought that API platform will query DB with joins, but i see in my symfony debugger that to get 5 entities and corresponding related entities api platform is making 9 queries, maybe i'm doing something wrong
Hey MolloKhan!
Hmmm. So I checked into this further to see if there might be some change in API Platform. By using the *exact* same code as this tutorial, `$operationName` inside `getDefaultGroups()` is *always ...
... platform/api-platform/issues/343#issuecomment-525773198
Seems like that guy find a solution. Give it a try and let us know if it worked for you
Cheers!
1026
API Platform
Filter Results