You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if the DoctrineType could access the info of the property somehow, then it could know into which classes it is doing to denormalize.
Also it could get the serialize and deserialize context from the property and it wouldn't need extra stuff inside the json
while talking more with others, it seems it isn't as easy as i thought because the moment when doctrine is using the Type to get the data from the database, i can't access the property it is going into
so my idea probably need a different approach, so i need to get in between doctrine loading data from the database and it putting the data in the entities
The text was updated successfully, but these errors were encountered:
Sadly not even the column options would help there because I thought I could inject the Outer Type into the options of the column, but that part isn't used either for this.
So for my idea I probably need to go deeper into the hydrator to see if I can get the data before it is loaded into the entity
I don't know if this is an idea for this project or if it should be done for a different one
my idea is to use the property info for the serialized class:
if the DoctrineType could access the info of the property somehow, then it could know into which classes it is doing to denormalize.
Also it could get the serialize and deserialize context from the property and it wouldn't need extra stuff inside the json
while talking more with others, it seems it isn't as easy as i thought because the moment when doctrine is using the Type to get the data from the database, i can't access the property it is going into
so my idea probably need a different approach, so i need to get in between doctrine loading data from the database and it putting the data in the entities
The text was updated successfully, but these errors were encountered: