Nicolas PHILIPPE

Results 319 comments of Nicolas PHILIPPE

doctrine acts in a really weird way with postgre's schemas: in all my auto-generated migrations, I have to remove a line where it adds a sql statement with `CREATE SCHEMA...

Hello @janopae indeed, unfortunately there is currently no easy solution to do it. However, I'd thought you'de be able to do it with `afterInstantiate` and `extraAttributes` :thinking: have you tried...

I recently had the case and resolved it like this: ```php class Program{} class ProgramTranslation { public function __construct(private Program $program) { $program->addProgramTranslation($program); } } // ProgramFactory public function withTranslations(Language...

Hi Oskar, I think you're right. However, I think it will be fixed in foundry 2.0

I think the creation of children is delegated to a post persist callback.

hey @janopae it appears it is even easier to directly use a "after instantiate" callback without even adding an extra parameter: ```php // ProgramFactory public function withTranslation(array $translationAttributes): static {...

Hi @jrushlow sorry to have been quite on this lately. Because we only use phpunit `^9.5`, I don't think we'll need any `@group legacy` for now? could rebase your PR,...

absolutely, I'll fix this today

thanks @jrushlow

> You mean on existing factories? yes, all existing factories will create an error with psalm if we make this move... We can update update maker and docs, but still,...