Hey pasquale_pellicani,
The first part of this tutorial is here: https://symfonycasts.com/screencast/api-platform2 . You can easily see the related courses on the track page: https://symfonycasts.com/tracks/rest#api-platform-2
Cheers! ...
I manage to make it work using : composer require api-platform/api-pack "1.2.0"
Thanks to finish folder in the course code.
Dependencies update is a very big problem in tutorials! (already talked about that with Ryan) ...
In my case v2.5.3 all I had to do was:
`
public function testCreatePost()
{
$client = self::createClient();
$client->request('POST', '/api/posts');
self::assertResponseStatusCodeSame(401);
}
`
Seems it was updated by api platform, authentication should be the first check before anything. ...
Thanks for the great tutorial!
I was wondering how to configure API Platform to support versions.
For example, I want to make url like this: https://example.com/api/v1/.
Any idea? Thanks. ...
Hey André P. !
Thanks for the detailed information! This is pretty interesting. So, I am not aware of anything in the Symfony serializer itself (ignoring API Platform for a moment) that would do this. In fact, you can ...
... Hi, I'm afraid this is not working (anymore? I'm on Api Platform Core version 3.2.13).
With this code :
```
Thanks for all these tutorials and for your awesome talk at the Api Platform Conference last week ...
It actually worked with a custom normalizer. According to API Platform doc, unlike event system, normalizers & denormalizers are GraphQL friendly ...
Is the service ApiPlatform\Core\DataPersister\DataPersisterInterface available in Api Platform 3.0 and higher?
Symfony can't see this. ...
Hey Daniel W.!
Are you looking for this? https://symfonycasts.com/screencast/api-platform-security/query-extension
Let me know!
Cheers! ...
How would that work, when I use API-Platform. Is there an easy way to use LiipImagineBundle and AWS S3? ...
FYI, code block was fixed in https://github.com/SymfonyCasts/api-platform/commit/7313e5e275cdcf8181555a41b29413c0cb0c3aea
Thank you for reporting it!
Cheers! ...
Hey John christensen
It's a Symfony bug. Read this thread: https://symfonycasts.com/screencast/api-platform/serializer#comment-4493208070
Cheers! ...
Happy new year, thank you and cheers, all at once. Indeed it works like in the api-platform example ...
Hey David!
A mystery! Ok, so we know that going to https://127.0.0.1:8000/api/products?currentCategoryId=/api/categories/2 via the (1) API Platform interface works correctly but (2) going to this URL via axios is NOT ...
... fact that there is no setter (just the constructor argument) isn't confusing API Platform. It's possible that it incorrectly thinks that the firstName property is not "settable", and thus is not including it in the POST ...
Hey Wannes V.!
I understand :). First, let me explain *why* this happens.
A) When you make a request to `GET /api/child`, API Platform makes a query for the "child" entities. And when it does that, it includes ysour ...
... ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyMetadataFactory::create() must be of the type string, integer given, called in /var/www/qual.stupvzw.be/public_html/vendor/api-platform/core/src/Serializer ...
Adding the plainPassword Field
... older
Symfony 3 Security Tutorial.
We're going to try a different approach - an approach that's more specific to
API Platform.
Before we get there, let's write a test to make sure this works. In the
test/Functional ...
... > `composer require api` is no longer official install for using API Platform 4
Hey |mention:86482|! Could you show where you are seeing this? All the official docs show `composer require api` but I see you mention this may not be correct.
1026
API Platform
Filter Results