1000 search results

…the Platform will create a new object , if I use an IRI the platform simply add a reference. Perfect but how to handle this situation; let I have an API to add a news from an external resource. The external resounce ( an external CMS for…
Gianluca-F
Gianluca-F
Read Full Comment
Hi |mention:61941|, I totally get EasyAdmin isn't for everyone. Not sure if you use API Platform, but we shortly covered [React Admin](https://symfonycasts.com/screencast/api-platform/react-admin) there (within the context of API Platform). Kevin
…1:8000/assets/bundles/apiplatform/init-common-ui-qYbIIkS.js net::ERR_ABORTED 500 (Internal Server Error) ``` When I check the 500 error, I see the following message: ``` Unable to find asset "./path/to/domAnimations" imported from "/x/.../x/vendor/api-platform/symfony/Bundle/Resources…
skocdopolet
skocdopolet
Read Full Comment
…video where Ryan goes to `/api/docs.json` to show the OpenAPI version of the docs, I got an error response. Apparently the url has changed with api-platform/core v3.2. You need to change the URL to `/api/docs.jsonopenapi` to see the…
…3 removals - Downloading api-platform/core (v3.3.12) - Removing symfony/uid (v7.0.8) - Removing symfony/polyfill-uuid (v1.30.0) - Removing easycorp/easyadmin-bundle (v4.10.3) - Installing symfony/serializer-pack (v1.3.0): Extracting archive - Installing symfony/orm-pack (v2.4.1…
Rodrypaladin
Rodrypaladin
Read Full Comment
Guys, I got the following error: ``` The service "App\ApiPlatform\OpenApiFactoryDecorator" has a dependency on a non-existent service "api_platform.open_api.factory". ``` I did print `bin/console config:dump api_platform` possible config options, but there is no `factory` parameter. The Symfony version…
Hey @sujal_k! This longer description of the whole process might help :) https://symfonycasts.com/screencast/api-platform-extending/collection-relation-setting#comment-32177 Cheers!
weaverryan
weaverryan
Read Full Comment
That's interesting. It could be a bug on ApiPlatform but I'm not sure. I believe the problem happens because you're mixing naming conventions (snake case and camel case). I think the easiest solution would be to stick to one convention, or you…
MolloKhan
MolloKhan
Read Full Comment
Hey folks! Just a quick fun fact for those diving into the world of ApiPlatform: If you're playing around with an OpenApiFactoryDecorator, you might have noticed everything works like a charm across dev, test, and prod environments when Swagger is enabled. But, guess what…
Bartlomeij
Bartlomeij
Read Full Comment
…believe) non-intentional change in API Platform 3.2. I've just added a note for this (I had a note in an earlier chapter already). And you weren't the only one tripping over this :) - https://github.com/SymfonyCasts/api-platform3/issues/43 - I…
weaverryan
weaverryan
Read Full Comment
```php new Post( '/share_files/upload.{_format}', inputFormats: array('multipart' => 'multipart/form-data'), deserialize: false, processor: UploadFileProcessor::class ), ``` hi,use api upload file,can not use processor,will get ``` "Could not resolve argument $data of \"api_platform.action.placeholder::__invoke()\", maybe you forgot to…
Hey @Cameron! > I'd love to see a video on setting up graphQL on apiPlatform as it has a lot of advantages over REST endpoints - particularly in multiple relationship retrieval / "embedded" items. I think graphQL is interesting... but at the same time, I'm…
weaverryan
weaverryan
Read Full Comment
Hi Ryan, Thnaks for your amazing work. I follow exactly the tutorial. When I use `#[AsDecorator('api_platform.doctrine.orm.state.persist_processor')]` it's working. But if I try (as you wrote in the tip) with ``` use ApiPlatform\Doctrine\Common\State\PersistProcessor; #[AsDecorator(PersistProcessor…
Sylvain-B
Sylvain-B
Read Full Comment
…15,"category":"/api/categories/1","colors":[],"image":"/uploads/products/floppy-disc.png"},"color":null,"quantity":1}]} Log : Uncaught PHP Exception Symfony\Component\Serializer\Exception\NotNormalizableValueException: "Update is not allowed for this operation." at ../code-vue/start/vendor/api-platform/core/src/Serializer/ItemNormalizer.php line…
atournayre
atournayre
Read Full Comment
…with the version of the API-platform the I will work with, because I want to choose a stable and well documented version. Also, I want to know whether OAuth2 Server will be part of upcoming tutorials with API Platform 3 because I want to…
Hey @Mykyta! This stuff can be tricky - especially with slight changes in the new versions of API Platform. API Platform 2.6 "should" still work like the tutorial, but sometimes there are subtle changes. Anyways, I wasn't quite sure: did you get this working…
weaverryan
weaverryan
Read Full Comment
…assure that we're going to cover this some day. We also have plans to cover ApiPlatform client generator as well. If you have some more specific topics about ApiPlatform Admin or Client Generator that you experience problem with and could share with us - it…
… Excellent question! I remember (WAY before API Platform, just in programming in general) this question driving me crazy :p. The answer is this: (unless I've absolutely missed some clever way of doing it f or the past 10 years) you need to replicate the…
weaverryan
weaverryan
Read Full Comment
Hey Dennis B. Did you notice if a "recipe" was installed when you installed ApiPlatform? You should have gotten this file `config/routes/api_platform.yaml` Cheers!
MolloKhan
MolloKhan
Read Full Comment
…guys, Hopefully you can give me a suggestion for my issue: I would like to start using a REST api in my existing project, however the problem is that it contains 300+ different entity types. For API-platform it seems not to be a problem…
Thijs-jan V.
Thijs-jan V.
Read Full Comment