1000 search results

Hallo @weaverryan, we have develop an app in symfony 6.1 and apiplatform 2.6, we have been successfully moved to version 2.7.2 with the flag to be ready for 3 but when i try to go further ( with version 3 ) i find…
Emanuele-P
Emanuele-P
Read Full Comment
Hey there, That's a good question, and after looking at the ApiPlatform documentation, I didn't find a way to configure filter names. I think the only way to do that is by creating a custom filter, unless I missed something Cheers!
MolloKhan
MolloKhan
Read Full Comment
EDIT : After some digging, I realize I "exit" the `ApiPlatform\Core\JsonLd\Serializer\ObjectNormalizer::normalize` method on line 86 on : ` $data = $this->decorated->normalize($object, $format, $context); if (!\is_array($data) || !$data) { return $data; } [...] return $metadata + $data `. The metadata that you use in…
Lucien D.
Lucien D.
Read Full Comment
…a tutorial on) ApiPlatform's react admin? I've wanted to see about getting a tutorial about this for awhile, but I haven't had time yet. It's still on the list, but will be awhile. Without knowing enough about ApiPlatform's react admin…
weaverryan
weaverryan
Read Full Comment
Hey André P. You're right, defining the ApiPlatform identifier is required when you're not working on an Entity, in other words, when working with a DTO Cheers!
MolloKhan
MolloKhan
Read Full Comment
Hey sadikoff , A symfony5 tutorial for implementing oauth2 with apiplatform
Hello, In some way, can we say that DataProvider/DataPersiter are to APIPlatform as Doctrine Entity Listener are to Doctrine?
Ohh, that's interesting. Perhaps if you upgrade ApiPlatform the error goes away but I might be wrong. Cheers!
MolloKhan
MolloKhan
Read Full Comment
Hey Mostafa Shahverdy Sorry for the late reply and for the confusion. ApiPlatform comes with different implementations for working with GraphQL as you already discovered. We'll add a note about it to the tutorial. Thanks for sharing it :) Cheers!
MolloKhan
MolloKhan
Read Full Comment
Hi, I don't understand why I have this error ` Symfony\Component\Config\Exception\LoaderLoadException: Declaration of App\ApiPlatform\Test\Constraint\ArraySubset::evaluate($other, string $description = '', bool $returnResult = false) should be compatible with PHPUnit\Framework\Constraint\Constraint::evaluate($other, $description = '', $returnResult =…
Hey Daniel, Awesome news for you! We've started working on ApiPlatform course! Well, it's on the planning stage yet, but I think it will be available in a month or two. And yeah, it's a *top* secret! So, shhhhhhh, don't tell…
Hey guys! I am expecting from you a tutorial about apiplatform+reactjs and you will became The God of PHP!
…the write side and a custom `output` DTO for the read side, then wire both to the same `ApiResource`. API Platform will deserialize the request into your input DTO, pass it to a state processor, and then serialize whatever you return as the response DTO…
…course is treating you well :) Quick clarification: you're right it's a newer-versions thing, but it landed in API Platform 3.0. In API Platform 2, dev used to rebuilt resource/property metadata (the info read from your getters/setters and phpdoc) on…
MolloKhan
MolloKhan
Read Full Comment
api-platform.com/docs/core/upgrade-guide/ if you're on an older version and want to upgrade to the latest. Though our Api Platform 3.x tutorials are still valid for most of the concepts, so you definitely can follow them to learn Api
It might be a litte late for the topic starter, but for everybody else trying to do the same – you might want to look into declaring parameters on resources: https://api-platform.com/docs/core/filters/#declaring-parameters
…Thanks for pointing that out! We did notice this a while back and added a note about it to a [previous chapter](https://symfonycasts.com/screencast/api-platform-security/browser#seeding-the-database). > since the error seems rather cryptic Darn, we've been trying…
…description": "The total number of joined relations has exceeded the specified maximum. Raise the limit if necessary with the \"api_platform.eager_loading.max_joins\" configuration key (https://api-platform.com/docs/core/performance/#eager-loading), or limit the maximum serialization depth using the \"enable…
Hey |mention:81999|! Glacial reply again, but, does this help? https://symfonycasts.com/screencast/api-platform-security/api-property#comment-33098
weaverryan
weaverryan
Read Full Comment
…will loose session login and you will need to pass token in each request. There is a little tip on this page https://symfonycasts.com/screencast/api-platform-security/login-response#thanks-session about stateless ApiPlatform default configuration change. Maybe it will be helpful Cheers…