fix(models): make user.teams work with eager
When running the user query, teams are not populated, but are instead
This is because the resolver uses
fetchOne, which seems to ignore the
options object which includes
This fixes the above by using
I also made a change in the gql schema to allow teams to return without members.
user.teams, you don't need the members.