Georgi Georgiev
Georgi Georgiev
> Can you use relationships in your database instead? > > Or did you try to use an array in the fixtures? Something like that: > > ```yaml > App\Entity\Preference:...
@mlocati I think they did :)
> > I think they did :) > > @vuryss are you sure? Isn't 3.7.0 (dated Jan 2022) the most recent imagick version? Sorry it was my mistake, I saw...
I can confirm this is from less than 24 hours. Yesterday I had no issues.
Nvm I end up writing my own library and bundle at the end. Closing this.
In the current state this is unusable with the latest Symfony versions (from 1 year ago). As far as I can see no updates were done in the past 2...
> Hey [@vuryss](https://github.com/vuryss), thanks for the report! > > > I have no idea why this was implemented > > From the PHP point of view, `int|string` is the very...
> For your serialization issue, you might want to take a look at [discriminators](https://symfony.com/doc/current/serializer.html#deserializing-interfaces-and-abstract-classes) Discriminator would require adding a special field which indicated which type to use. Sooner or later...
Ok as I have moved to own serializer implementation several months ago, I did not notice that Symfony serializer is already using the new types. Here are examples of how...
Update: This seems to be a hidden breaking change between Symfony 7.0 and 7.1: Here is a setup with 7.0 that still had the old behavior: https://phpsandbox.io/e/x/1vuyu?layout=EditorPreview&defaultPath=%2F&theme=dark&showExplorer=no&openedFiles=