New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jsonb type limited convert #161
Comments
I don't fully understand your idea. Can you please elaborate with more details? |
You limited types int this when it convertio into. It can convert any object itno jsonb, but you won't be able to recreate same object from jsob. So u can conber instance of my CustomClass but i can't get it back since im limited to simple types only. |
Can you add some code samples, please? The phpdoc for |
Yes and that is an issue. You can conver instance of
And its a big issue in DDD aproach where u have lot of domain defined custom objects you want to store as jsonb. |
JsonB type has now limitation on convertToPhpValue function. You can't convert to some custom php classes now like this:
public function convertToPHPValue($value, AbstractPlatform $platform): Currency
Any reason behind limiting convert to only simple php types?
The text was updated successfully, but these errors were encountered: