Hubert Lenoir
Hubert Lenoir
Not really but I will do an effort just fo you @iamluc ;-)
> What about just using HttpCacheKernel? You're right, HttpCacheKernel is better if you want to cache a Response. However, this PR will allow to cache any method results (database requests,...
Thanks for the review! Indeed, this PR will bring a lot of code to maintain. I think I will give a try to #47236 in a dedicated library when my...
> Do you have some numbers or a Blackfire profile showing the performance gain? Not really because it depends on how extensions are implemented and their usage. Caching `supports` result...
Hi @soyuka, I updated my PR and made some Blackfire profile by calling `provide` method multiple times but the gain is not terrible. Use cases from #2769 would be interesting.
Hello, I reproduced this bug with the following class : ```php #[ORM\Entity] #[ApiResource(itemOperations: ['get' => ['identifiers' => ['id' => [User::class, 'shortName']]]])] class User { #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column(type: 'integer')] #[ApiProperty)] public...
You're right. I changed these filter to binary expression (like `starts with`). The `\Twig\ExpressionParser::parseExpression` had to be updated to allow arrow functions in right operator.
I forgot it, my bad. This is done in https://github.com/twigphp/Twig/pull/3797.
@franmomu I agree to add the `object` type to arguments and make some functions private. Since this logic could be applied to other `NestedTreeRepository` functions (`get*QueryBuilder` and `get*Query`), should we:...
My bad, I used the GitHub UI to resolve conflicts :man_facepalming: