Jérôme Tamarelle
Jérôme Tamarelle
I took a screenshot so that we keep track of the phpinfo (same for the 3 PHP versions)
The encrypted collection need to be created first using [MongoDB\Database::createEncryptedCollection()](https://www.mongodb.com/docs/php-library/v1.21/reference/method/MongoDBDatabase-createEncryptedCollection/) with the same `keyVaultNamespace` and `kmsProvider`; specifying the `encryptedFields` map. This feature request is tracked as PHPORM-136.
The value assigned is a string. In fact, only `DateTimeInterface` objects can be casted into `MongoDB\BSON\UTCDateTime`.
The feature is relevant, but I find the syntax of the attribute is not explicit. I would find it clearer if the target contained `[class, property]` instead. That would let...
Then, can we add a `targetClass` property to the attribute? We'd need separate attribute classes since the properties diverge: `MapClass` and `MapProperty`.
Adding the `target` after the `value` and the `source`, sounds like a good idea. The condition callable signature would become `function (mixed $value, object $source, object $target)`. The if condition...
I'm looking at this issue. Tracked in Jira: PHPORM-281
I've spent a lot of time looking into this, but I haven't found a solution. I'll leave it open, if anyone wants to look into it. In the meantime, there...
We have to hold on this feature, it was reverted in Laravel [v11.38.2](https://github.com/laravel/framework/releases/tag/v11.38.2)
Issue tracked in Jira [PHPORM-373](https://jira.mongodb.org/browse/PHPORM-373)