1025 search results for API Platform

... 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 ...
Volodymyr T.
Volodymyr T.
Read Full Comment
... 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 ...
Jean-tilapin
Jean-tilapin
Read Full Comment
... 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 ...
sridharpandu
sridharpandu
Read Full Comment
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 ...
Manuel G.
Manuel G.
Read Full Comment
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 ...
weaverryan
weaverryan
Read Full Comment
... () == 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 ...
weaverryan
weaverryan
Read Full Comment
... 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 ...
weaverryan
weaverryan
Read Full Comment
... - 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 ...
weaverryan
weaverryan
Read Full Comment
... bundle (why have the extra subdirectory)? However, some pure libraries will come with a Symfony bundle embedded inside of them, and they *will* follow some convention like this. API Platform is one example: it is just a PHP ...
weaverryan
weaverryan
Read Full Comment
... )normalization *context* - https://github.com/api-platform/core/blob/master/src/Serializer/Filter/PropertyFilter.php#L43 - and it is called both at the start of the request during read/deserialization AND later during serialization ...
weaverryan
weaverryan
Read Full Comment
... creating 2 separate database containers - one for the normal environment and one for the test environment. Try downloading the code from this tutorial - https://symfonycasts.com/screencast/api-platform-extending - and ...
weaverryan
weaverryan
Read Full Comment
... has a `string` type-hint on the argument (and maybe you also have `declare(strict_types=1)` on your class... I can't remember if that's needed). The point is: this error is because if your type-hint - API Platform is ...
weaverryan
weaverryan
Read Full Comment
... api-platform does that by default... EXCEPT! Since the `admin:read` group is present, my beautiful IRI has become a nested object with just `passwordVersion` (and jsonld stuff). Note that I may have made a mistake. If so ...
Philippe B.
Philippe B.
Read Full Comment
... /screencast/api-platform-security/json-login - that will try to authenticate the user whenever the URL is /login. Basically, whenever you go to /login, you will hit this json_login "authentication mechanism" *before ...
weaverryan
weaverryan
Read Full Comment
... Hi Victor, ` /var/www/api-platform # yarn why babel-eslint yarn why v1.16.0 [1/4] Why do we have the module "babel-eslint"...? [2/4] Initialising dependency graph... [3/4] Finding dependency... [4/4] Calculating file ...
... = true; }) ``` it doesn't seem to do anything. So i'm just wondering what I'm missing, or what's the best way to config eslint & typescript parser. Thanks in adance, your videos for react and api-platform has given me a huge head start in building my first headless app!
... :). In a more perfect world, the "stations" table would have a true relation to the "markets" table through a join table. That would then all be mapped correctly on Doctrine (as a ManyToMany relationship) and API Platform ...
weaverryan
weaverryan
Read Full Comment
... with the paginator, you're dealing with a `SlidingPagination` instance (https://symfonycasts.com/screencast/api-platform) which extends `AbstractPagination` https://github.com/KnpLabs/knp-components/blob/master/src/Knp ...
weaverryan
weaverryan
Read Full Comment
... is how Doctrine works: the security system will initially query for the currently-authenticated user. Later, when API Platform queries for that same User, Doctrine returns the *same* object (instead of making a 2nd query ...
weaverryan
weaverryan
Read Full Comment