... Oh it's looks like api platform known error
https://github.com/api-platform/core/issues/4293
Adding PatchAwareItemNormalizer seems to fix the problem.
Thanks for answer :)
... Yup, there's an open issue about it - no fix proposed at the moment :/ https://github.com/api-platform/api-platform/issues/1892 ...
Thanks for the reply, I opnened an issue on friday: https://github.com/api-platform/api-platform/issues/1899
btw: great course and teacher! ...
Hey Geoff Maddock!
I'm not sure of a workaround - here is the issue tracking this on API Platform: https://github.com/api-platform/core/issues/3590
Cheers! ...
Hi, I see you switched to UUIDs in this tutorial.
It looks like, that if you add an "id" to a POST request, API Platform handles the request as PUT request. The error message is "Update is not allowed for this ...
... API Platform 3.0, set it for the collection operation "validation_groups" of the class "App\Entity\User".
```
1x: The "route_name" attribute will not be set automatically again in API Platform 3.0, set it for the collection operation "validation_groups" of the class "App\Entity\User".`
Using Symfony 5 and Api Platform 2.5
Filtering Searching
... search
on the front-end and need to find by title? These are called "filters": ways to
see a "subset" of a collection based on some criteria. And API Platform comes
with a bunch of them built-in!
Let's start by making it ...
Hi guys! Thanks a lot for the API platform series course.
Is there any way to have a different API endpoints split by subdomains (or scopes)?
For example:
www.apidomain.com/api1/
www.apidomain.com/api2/
etc.
so each ...
Thanks for another great tutorial.
Does the base path have to be /api or can that be changed? I would like it to be /apiv2 or something. I ask because my app already has enpoints with /api and I would like to gradually move to the api-platform. What pitfalls can I avoid when installing api-platform and it's modification. ...
Hey @Chtioui!
No OAuth / social auth in the upcoming API Platform tutorials. If you want to allow your users to "log in" via some social service, I'd check out https://github.com/knpuniversity/oauth2-client-bundle. I ...
... ":"","file":"\/Users\/casrime\/Downloads\/code-api-platform-security (3)\/finish\/vendor\/symfony\/security-http\/Firewall\/ExceptionListener.php","line":187,"args":[]},{"namespace":"Symfony\\Component\\Security\\Http ...
Query Extension Auto-Filter a Collection
...
purposely query for all cheese listings. Sure, you can work around that - but
I tend to use Doctrine filters rarely.
The solution I prefer is specific to API Platform... which I love because it
means that the filtering ...
Hi Ryan,
I watched the API Platform 2 course. I plan to watch this one but for now I did not find the time to do it. I still searched if there was the same course "[Automatic Serialization Groups](https ...
Hey Toshiro!
Woohoo! Nice work!
So, the only mystery is why you needed to do this but I didn't. Mostly, it makes sense: you're not inside an API "context" (this isn't an API Platform endpoint), so API Platform ...
... Definitely! We'll cover the new way of doing things soon in an API Platform v3 version of this tutorial :). Things are actually MUCH nicer with DTOs in API Platform 3 - I never liked this data transformer business all that much.
Hey, everyone.
Is it possible to return an API Platform error response in JSON-LD format in these cases where the route is not managed by API Platform?
Thank you. ...
Hey Monoranjan,
Unfortunately, no official possible solution as I can see the main issue is still open: https://github.com/api-platform/api-platform/issues/1892 - you probably may look over the thread to find possible workaround if any.
Cheers! ...
Hey Nyenyemere Barry
I find your problemn similar to this issue. Would you mind looking at it and see if the any proposed fix works for you? https://github.com/api-platform/api-platform/issues/1099
Cheers! ...
Yea, it looks like there is a bug in 2.6.3 related to this - there are several open issues about it - it looks like you already found the main one ;) https://github.com/api-platform/api-platform/issues/1892
Cheers! ...
... I'm having the same problem here, I installed api platform by the official guide with docker, so the version is different the one you used for the tutorial, api platform 2.6 symfony 5.2
1015
API Platform
Filter Results