Bastien

Results 61 comments of Bastien

I don't have the capacity to do that kind of PR sorry.

Mmmh I was thinking about this kind of scenario : We have an entity like this : ```php class Category { private ?int $id = null; private ?string $title =...

So for the relations, in a "normal" code that we would put in the `__clone` method, it goes like this : ```php public function __clone(): void { $this->id = null;...

Delete the id, that's for sure, we agree. Afterwards concerning relationships, it's hard to say, we can't imagine a default behavior because... would there really be one? To be honest,...

> (but only if you have `cascade: persist` for the relationship). Is this correct? Yes ! :) > Of course, after calling `Factory::from()`, in the `create()` call you can pass...

I literally just spent 1 week working on the implementation of Products, Sku, and Order, before realizing that Sku and Order were deprecated ... I don't understand why it is....

@spsaucier-bakkt It's really annoying ... So how did you proceed on your side? Did you keep the SKU objects? Or have you replaced SKU objects with products?

Hi @ibn-ashimi I added you to Discord too for some clarifications about the tutorial :)

I've still the same problem. Is there a solution now ? I've a generic Media entity : ```php #[ORM\Entity(repositoryClass: MediaRepository::class)] #[ORM\HasLifecycleCallbacks] #[Vich\Uploadable] class Media implements \Stringable { use PrimaryKeyTrait; use...

Hi ! I don't know if the problem has been resolved since, but I'm here to explain the same type of problem and the solution put in place: I have...