1015 search results for API Platform

... 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 ...
weaverryan
weaverryan
Read Full Comment
Thanks for the reply, I opnened an issue on friday: https://github.com/api-platform/api-platform/issues/1899 btw: great course and teacher! ...
TristanoMilano
TristanoMilano
Read Full Comment
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! ...
weaverryan
weaverryan
Read Full Comment
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 ...
Richard H.
Richard H.
Read Full Comment
... 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
Hannah R.
Hannah R.
Read Full Comment
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 ...

6:02
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 ...
Alexandr K.
Alexandr K.
Read Full Comment
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 ...
weaverryan
weaverryan
Read Full Comment
... ":"","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 ...
abdouniabdelkarim
abdouniabdelkarim
Read Full Comment
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 ...

9:37
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 ...
Aurelien-A
Aurelien-A
Read Full Comment
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 ...
weaverryan
weaverryan
Read Full Comment
... 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.
weaverryan
weaverryan
Read Full Comment
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. ...
André P.
André P.
Read Full Comment
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! ...
MolloKhan
MolloKhan
Read Full Comment
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! ...
weaverryan
weaverryan
Read Full Comment
... 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
miguelbarreiro85
miguelbarreiro85
Read Full Comment