1000 search results

Hi, I have the api-platform/api-pack v. 1.2.2. I think it is ok.
Gaetano S.
Gaetano S.
Read Full Comment
Hi,I have a problem with Warning: require(C:\xampp\htdocs\api_platform/vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\api_platform\config\bootstrap.php on line 5 where can I get vendor directories?
Hey please let me know how to use GraphQL with API Platform. I am struggling to use it and end up getting few errors...
Sachin g K.
Sachin g K.
Read Full Comment
…found it. It's the `vendor\api-platform\core\src\Bridge\Doctrine\Orm\SubresourceDataProvider.php`. If i change it back to what it was before the composer update it all works again. It turns out that api-pack v1.2.2 does not work right…
I've already looked for a solution on api-platform.com, but found nothing ...
…We do recommend to start with API Platform course, it's easier to learn and understand, and has Symfony 5 support. You can find a few courses about it here: https://symfonycasts.com/screencast/api-platform https://symfonycasts.com/screencast/api-platform-security For more…
Hi there How would you implement the reset password feature with API Platform? Would you create another action in the Security controller or a custom operation for the User resource? Thanks
I purchased a sub to symfonycasts to learn about api-platform... because we are considering using api-platform for an upcoming project we have. Unforunately we won't be able to use IRIs for relations on this project, so I'm hoping this is configurable…
Hey, Are you planning to release a course with API Platform and ReactJS ?
Hey there, API Platform is really good for making projects quickly, but I've never met (or it's very rare), APIs without the need to make custom endpoints (I think the official documentation is confusing on the subject), do you plan to cover the…
gabrielmustiere
gabrielmustiere
Read Full Comment
What approach would you recommend for uploading in an api platfrom based app? The official way ( https://api-platform.com/docs/core/file-upload/ ) doesn't seem to allow entity specific validations.
It's good. I'm going to add GraphQL into Api-Platform and also with Symfony Flex. Did you include CRUD by GraphQL in this course? please.
Romeo Tong
Romeo Tong
Read Full Comment
Hey infete This course is totally focused on API Platform, so it won't cover how to develop an API in a TDD way. If you are interested in TDD, we have some courses about it (PHPSpec, PHPUnit, Behat), https://symfonycasts.com/tracks/testing Cheers…
MolloKhan
MolloKhan
Read Full Comment
Is there a plan to release a course on using API Platform to develop a REST (or GraphQL) API?
services:
# added so we can use the new API Platform test tools before
# they are released. In API Platform 2.5, this won't be needed.
test.api_platform.client:
class: App\ApiPlatform\Test\Client
arguments: ['@test.client']
public: true
See Code Block in Script
…1 [attributes:Symfony\Component\Security\Core\Authentication\Token\AbstractToken:private] => Array ( ) ) ` It seems that the ApiPlatform\Core\Bridge\Symfony\Bundle\Test\Client doesn't keep the authentication between the calls. Here's my config/packages/test/security.yaml ` security: encoders: CrosierSource\CrosierLibBaseBundle\Entity\Security…
Hey |mention:41193| I'm not sure if ApiPlatform gives you that functionality out of the box, it sounds to me like you'll need to create a custom filter Cheers!
MolloKhan
MolloKhan
Read Full Comment
If you have problem with /api Entrypoint: use this: ``` use ApiPlatform\Doctrine\Orm\Filter\BooleanFilter; ``` not this ``` use ApiPlatform\Doctrine\Odm\Filter\BooleanFilter; ```
Yep, ApiPlatform has changed a some things in its latest version. Thanks for sharing it!
MolloKhan
MolloKhan
Read Full Comment
Hey |mention:76325| Yes, APIPlatform does not force you to create entities for your resources, you can do the exact same thing with data model classes Here are the docs: https://api-platform.com/docs/core/dto/#using-data-transfer-objects-dtos Cheers!
MolloKhan
MolloKhan
Read Full Comment