1000 search results

Hi, I have one question regarding ApiPlatform and Doctrine. For example, I have a field that I want to expose only on` GET (item) `but not on `GET collection.` Using s`erialization groups / #[Ignore] `works for hiding the field in the response, but Doctrine still…
Esperando a que salga Symfony 5 + ApiPlatform + Auth2.0 + Voters
Hey truuslee Welcome to Symfony and ApiPlatform :) What you are experiencing is normal. The default "homepage" only works on the dev environment. You just need to create your own routes and it should work fine Cheers!
MolloKhan
MolloKhan
Read Full Comment
Hey |mention:15415| It seems like an ApiPlatform bug. Try upgrading to the latest version. If the problem remains, you may want to open an issue to the ApiPlatform GitHub repository Cheers!
MolloKhan
MolloKhan
Read Full Comment
Hi, Will there be an update with ApiPlatform v3? The whole part with DataTransformer is out of date as they are removed from V3.
Me sorprende gratamente la flexibilidad que proporciona ApiPlatform para adaptarse a situaciones de negocio. Muy buen video.
You can totally go fancy on the formats: https://api-platform.com/docs/core/content-negotiation/#configuring-formats-globally
When I went to use the SymfonyCasts/tailwind-bundle in an API Platform project using docker containers it took me a while to discover that I had to go into the docker container and run the `bin/console tailwind:build` command inside the docker container…
Jason-Aller
Jason-Aller
Read Full Comment
…suspect a regression in API Platform 3.3. If I run the tests in the "finish" folder after upgrading Symfony to 6.4 and API Platform to 3.3, then the `patch()` calls return `null` again. If I revert only API Platform to 3.2…
keesystem_it
keesystem_it
Read Full Comment
I've upgraded the tutorial project to Symfony 6.4 and api-platform 3.2 including all recipes... And I was fighting hard to get the same result as the tutorial. Apparently. If you have a property `isOwnedBy`, and you make a 'isser' `isOwnerBy()`, that…
Joris-Mak
Joris-Mak
Read Full Comment
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()`.
Good morning. I am very interested in the integration of the Api platform with Elastic Search to implement it. Would you have a link, manual or video that explains it. Or are you going to take a course on that? Thank you.
Patricio-RM
Patricio-RM
Read Full Comment
Hello, is API Platform 3 compatible with Symfony 5.4?
Hi everyone, I am working on an application with API Platform 3. I have an Entity called "Users" and another Entity called "Prospects". I have created a route: /api/users/{partner_id}/prospects/{id}, where {partner_id} represents the custom id of users and {id…
yes, i use api platform,i konw how sort by property,but if i want sort by custom condition,how to do that,thanks
I have created a Custom Normalizer in my API Platform 3 (Symfony 6) application. The goal of this normalizer is to modify and add some data to the response before returning it to the user (GET collection request). This is the code : ```php namespace App…
Using the latest Symfony binary and following along the tutorial for API Platform (which is still based on Symfony 4/5), I get the following error: ``` >bin/console make:entitiy In SecurityExtension.php line 307: Invalid firewall "main": user provider "users_in_memory" not found…
My project used symfony 6.0.15 and Api platform 2.7 and the processor way is not yet available. But the datapersister way does not work. The method persist is called but the plain password field is always empty. I cannot figure what the…
…difference between the route being found or not, with the annotation version being the working one and the attribute one being the non-working version. In order for this to work I need to have `metadata_backward_compatibility_layer: true` set in api_platform.yaml
Alexander-S
Alexander-S
Read Full Comment
…pro with api-platform and symfony, so excuse me if I'm incorrect and do correct me if possible. However after spending 3 hours digging through 7 concrete validator classes that were all injected via the same interface, starting from the api-platform vendor files…