2 level nested data for user, accessed via the auth/login

System Information
  • Strapi Version: 3.5.0-beta.0
  • Operating System: Windows 10
  • Database: graphql
  • Node Version: v12.13.0
  • NPM Version: 6.12.0
  • Yarn Version: 1.22.4
  • sdk: strapi-sdk-javascript

Hello all, I’m pretty new to strapi and graphql in general.

I have added a relationship of users having many video_lists, and then video_list having many video. I’ve done some research and confirmed that by default, I’ll only get the video_lists returned as strapi only goes one level deep.

I came across Simple nested array issue - #3 by Kim_McCaskill that showed how to create a custom service for a collection however I would prefer to use the auth/login feature since it allows for an indentifier (email OR username).

I’m also using strapi-sdk-javascript, which seems to not be supported anymore so if I should not use it then that’s fine too, I’ll be glad for a solution either way.

TL:DR I want to be able to get 2-level nested user data via an API that uses an identifier instead of use that uses only email or only username.

Thanks