Populate entity association field with integer Id and not object. Expected value of type \“App\\Entity\\Country\” for association field

前端 未结 0 424
青春惊慌失措
青春惊慌失措 2020-11-29 10:06

I\'ve an entity with a field which is called "country" connected to another entity:

/**
 * @ORM\\ManyToOne (targetEntity="App\\Entity\\Country&         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题