mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.6K
active users

#doctrineorm

1 post1 participant0 posts today

Me: Why is Doctrine (a PHP ORM) not hydrating my embedded class property? It's marked as embeddable and there are no nullable properties (something which does cause hydration to silently fail apparently). WHY CAN'T I GET THIS TO WORK?!

[a few hours later]

Me: Actually, I can take a different approach and avoid Doctrine embeddables entirely. \o/

Working on the #doctrineorm v1 codebase and its test suite, make you realise how much work has been done on #phpunit, and it simply works! Thank you @sebastian!

At the same time the legacy Doctrine v1 still manages OK-ish in the era of #php8 ! Still with no class namespaces and by implementing its own autoloading system! Is it probably from #php4 times? 🤔

Kudos to the original authors!
(Are they around here BTW?)