User-user connection table

Hello,
I have a user table and I added an object with relationship to the same user table.
The object only adds user_id and doesnt add other fields like email, avatar etc into the list
and when I GET, it is the same.

What I want is, once I add a user, I want the object to contain all of the added user details

At the moment I am able to get around by adding manually, the fiels in the object space. But, the above will be clean if it can be achieved.

If this was addressed before, could you help point me to the appropriate link pls.

 

[Image]
At the beginning, it was just the below with drop down:
[Image]
I had to add the name, email, avatar manually/ or map via APIs by assigning variables and dot notation to add these:
[Image]

Any help will be greatly appreciated!!
Other
8 replies