How can I add relations to the ctx.user

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

Hello everyone, I would like to be able to see the relationships of a user (only 1 level deep) in the ctx.user . Do someone knows in which file this is generated? I can’t seem to find it. Additionally, I would like to add a one-to-one relationship with the user to the ctx. Does anyone have experience with this? Thank you in advance. Regards, Ney

I found the file: