Hi! I have 2 entity. Book and Author. Book have manytomany relations with author. When i post data to controller and try denormalize it, it's ok, but when flush i have error, because my $authors now is simple id array, but must be entityArray. What is best way to resolve it?
@OverSeasMedia4 жыл бұрын
If you have the entire author array you can hydrate an object from the array and then just persist like usual, because the association requires an object instead of an array
@MegaJuandelgado4 жыл бұрын
thank brother, por fin una solución correcta
@mariuscodori1936 жыл бұрын
Hey Man, witch keyboard do you use ?!
@OverSeasMedia6 жыл бұрын
Thats a motospeed ck108 machanical keyboard with blue switches , sorry about the noise mate lol
@nika-bm8pb5 жыл бұрын
@@OverSeasMedia That noise is satisfying
@OverSeasMedia5 жыл бұрын
I have to agree . Even tho some people find it annoying lol .
@richardtrujillotorres5 жыл бұрын
Have to love the swearing
@mehdiphpbb3 жыл бұрын
The content is good, but would you please stop moving the cursor when you are describing something :) Thanks.
@muhammadsaim54096 жыл бұрын
Please make a short video on Dependent select (drop-down) with entity plz plz plz 🙏🙏🙏🙏
@OverSeasMedia6 жыл бұрын
Hello Muhammad , I still owe you man you asked me to cover relationships in doctrine and I haven't done that yet I'm sorry , I'll see if I can start with the drop down and then to other things, Cheers and thank you :)