... /screencast/api-platform-extending - then we DO use a DATABASE_TEST_URL env var.
That variable can be set in 2 different ways:
A) If you use the same Docker setup as the api-platform-extending tutorial, then you will have a ...
... platform doesn't show this field
So the logic for whether or not a field shows up in API Platform is "fairly" simple (with quotes around it, because nothing in programming is always *that* simple). There are 2 big things to ...
... API Platform annotations are my *least* favorite annotations out of anything. I would very much prefer a PHP configuration. The problem is that they're very complex. Doctrine metadata is simple - `@ORM\Column(nullable ...
A) OK, as we know “api-platform/core”: “2.5.2” works OK. But there is something new I found out... The doc displays OK only if Person::$firstName annotated with @Groups of noramlizationContext of Vehicle! That is ...
... Yo Rakodev !
> I wish there will be some performance topic in the next API Platform course, because with a big database mysql could be low performing
That's true! However, I also think it comes down to three simple ...
Hey |mention:85340|!
Hmm. I don't know anything about the GraphQL implementation in API Platform, so unfortunately, I can't suggest any possible fixes.
Sorry I can't be more helpful! ...
Hey |mention:82967|
Sorry for my late reply. I have the same question as here https://symfonycasts.com/screencast/api-platform-security/access-token-authenticator#comment-31679
I believe your authenticator might be misconfigured, let's debug that first
Cheers! ...
... I'm relieved I'm not in cause there ;-)
Thank you for taking action to help fix the issue! :-) Your tutorial helps me so much in my journey learning to use Api Platform!
Hey |mention:58721|
As |mention:37114| mentioned, ApiPlatform changed how they used to treat PUT operations, we have a little warning note in this chapter https://symfonycasts.com/screencast/api-platform/serializer?playAt=269#adding-a-virtual-textdescription-field ...
... That's because your api_platform.yaml doesn't contain format for json
```
api_platform:
title: Hello API Platform
version: 1.0.0
formats:
jsonld: ['application/ld+json']
json: ['application/json']
```
you should add accept method
```
json: ['application/json']
``` ...
Under [Setting up the Fixtures](https://symfonycasts.com/screencast/api-platform/relations#setting-up-the-fixtures) the sentence
> Return `owner` set to `User::factory()->random().`
should be:
> Return `owner` set to `UserFactory::random()`. ...
i think you put the coding-challenge before this chapter by mistake.
btw. Ryan ... my cats missing the cat-lang of the courses. they still stuck on Api-Platform 2.6. ...
Does any one know where I can read about how to make API Platform docs load dynamically based on who is logged in? |mention:213| said at the end of the video, "something we're going to tackle in this tutorial" ...
For all of us struggling with an empty spec "No operations defined in spec!" using php 8 attributes, there's a compatibility layer that needs to be disabled:
```
api_platform:
metadata_backward_compatibility_layer: false
```
Source: https://github.com/api-platform/core/issues/4485#issuecomment-933448396 ...
Hey Chtioui,
You may find some deprecations along the way but in general all of the concepts are still relevant.
Oh, by the way, we just released a new tutorial about APIPlatform 3 https://symfonycasts.com/screencast/api-platform
Cheers! ...
Hi,
In Api Platform 3 there is no
```php
ApiPlatform\Core\DataProvider\CollectionDataProviderInterface;
ApiPlatform\Core\DataProvider\ContextAwareCollectionDataProviderInterface;
ApiPlatform\Core\DataProvider ...
Hello GianlucaF
If I understood you correctly, then you can do it with context builder. You will find it in the security part of ApiPlatform series
PS fast link https://symfonycasts.com/screencast/api-platform-security/context-builder
StayTuned! Cheers! ...
Unfortunately, Alice isn't compatible with API Platform. I have tried to use with my test, though I was able to create fixtures but couldn't reload or refresh the database. ...
... I'm trying to update a record from an ajax call to a put API-Platform endpoint, but I'm getting a message: "Deserialization for the format \"html\" is not supported." Can anyone help me with this?
Hey Adeoweb!
Ah, good catch! I bet that's a change in API Platform - I'll check it out and we'll add a note if needed (it sounds like it is needed).
Cheers! ...
1027
API Platform
Filter Results