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
As a quick workaround, I changed the nameAsField to user, which created a list of users in the root of the object, and then created a second hook which moved them to their correct place.
When I'm done with prototyping the current project I'm working on, I'll come back and create a more permanent and better solution.
Steps to reproduce
This issue is very similar to #142.
I'm attempting to populate a field inside an array, with the data from the population replacing the field.
This is the data I'm working with:
Users
Team
And the code I have in an attempt to do this.
Expected behavior
Actual behavior
Adds this to the response:
Alternative 'half-working' solution.
The following code:
produces:
where I do have all the data I need but not formatted in a way that I want (the user models being placed into the user field in the members list).
The text was updated successfully, but these errors were encountered: