We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently if you want to store an object as a property of a document, you need to map it as a child document
Doctrine ORM has the option to store ojects as serialized PHP, this is can be more desireable than mapping a child document for performance reasons.
So I would propose something like:
/** * @PHPCRODM\Field(type="php_object") */
(FTR Doctrine ORM uses object, not sure if that would be better here).
object
Alternatively we could make it possible for users to implement custom types (I don't think this is already possible?).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently if you want to store an object as a property of a document, you need to map it as a child document
Doctrine ORM has the option to store ojects as serialized PHP, this is can be more desireable than mapping a child document for performance reasons.
So I would propose something like:
(FTR Doctrine ORM uses
object
, not sure if that would be better here).Alternatively we could make it possible for users to implement custom types (I don't think this is already possible?).
The text was updated successfully, but these errors were encountered: