... the time on API Platform :P).
So, POST worked perfect and as expected.
Now for the GET part, *post-hydration* was the exact word that I was looking for that. I used a Doctrine Listener on PostLoad and worked!, of ...
... priority, but the service is explicitly declared without one in `/vendor/api-platform/core/src/Symfony/Bundle/Resources/config/ramsey_uuid.xml` so I'm guessing that's not relevant.
... super complex. It's possible that the solution might need to (or not need to!) use the "normalizer aware" strategy: https://symfonycasts.com/screencast/api-platform-security/normalizer-aware... or maybe that will make no ...
... //symfonycasts.com/screencast/api-platform-extending/validator-logic#codeblock-f8b1e9b4ae
I think the key difference is that, if we added this constraint above our input class, the actual `CheeseListing` entity will, I ...
... direction of making them a bit "fatter".
Furthermore, all original classes (two Transformers and a Denormalizer) are still kept for Api Platform to do it's magic – only transformation logic is moved. On one hand, them ...
... action". It is more of a "given this user, this is an invalid value for this field". We do something like that here: https://symfonycasts.com/screencast/api-platform-security/validator-logic. The tricky part is getting ...
... about API Platform, async email and symfony stuff so my code inspired by you and I added the reset :
$this->entrypointLookup->reset();
in the constructor of my Mailer service. (May be it need to be another place?)
If I send ...
... /api-platform-extending/entity-filter-logic
In that example, in getDescription(), we name the filter "search". But that does not need to correspond to any property name on our class. So we could also call it "isMe" or ...
... value, it works as expected.
Is this the expected behaviour? It seems weird to me that a field does not appear in a response if it is NULL.
Or maybe I'm missing something.
I'm using Symfony 5.3 and API Platform 2.6.5 ...
... to the Document. I am also using Api-Platform for the project. One of my approach was to use DTOs and set dynamic properties there. Then collect them all and set it as a HASHed property name `data` in the document. I am ...
... already by the time we recorded this (so I knew about it), but it wasn't released stable yet. I mention this here - https://symfonycasts.com/screencast/api-platform-extending/uuid#installing-ramsey-uuid - but overall, it ...
... API Platform, so I'd like to have a more granulated control for a serialized property name for different serialization groups. Is there a case to expect this?
Could you please confirm that the example in the gist doesn't ...
... ignored
->setMaxResults( 8 ); // Also ignored
`
How should it be?
----------
I'm still confused with API Platform and its Collection logic. Like I said, I have a lot of Activities and many occasions to ...
... do anything on the API Platform. I want to accomplish a equi join between two entities so thge correct record is retrieved from the Database. In the video lessons one side of the argument passed is always a literal.
EDIT ...
Running into an issue with Symfony 5.2.3, api-platform 2.6 and SYMFONY_PHPUNIT_VERSION = 8.5"
I followed this tutorial, but it seems that Symfony ignore the services_test.yaml.
The service “test.api_platform.client ...
Hi!
Why is my api platform documentation empty?
When i go to the POST option, the body documentation is empty. After i click 'try it out' i only see an empty JSON {}. I had to write the JSON by hand following the ...
... sure, but I think it should still work - the resource metadata factory we create - https://symfonycasts.com/screencast/api-platform-security/resource-metadata-factory#codeblock-b610d31864 - is checking for the existence ...
... () == user",
```
In API Platform 2.5 and higher, as you know, we now have `security` and `security_post_denormalize`. Basically, `access_control` === `security_post_denormalize`. What I mean is, both of these run *after ...
... will call the voter. That document is on GitHub here - https://github.com/api-platform/docs/blob/2.5/core/security.md - if you do find time to make a pull request, definitely let me know and I can review and +1 it.
Also ...
... - but if it's still not clear, take a screenshot and send it over :). I would be looking to see if one of the classes in the stack is `ResourceAccessChecker` from API Platform (which would point to this coming from some ...
1016
API Platform
Filter Results