Closed g105b closed 1 year ago
When there's an object that has a nullable public property, like so:
class Customer { public function __construct( public string $name, public ?Address $address, ) {} }
If the Customer's address is null, BindableCache::convertToKvp() will try to use getAddress() instead of being happy with a null value.
getAddress()
Before closing, it would be good to link the unit test here, as this latest merge is becoming a bit confusing :S
When there's an object that has a nullable public property, like so:
If the Customer's address is null, BindableCache::convertToKvp() will try to use
getAddress()
instead of being happy with a null value.