Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the same option object as find/findOne to the fetchUser() method #195

Open
christher-lenander opened this issue Dec 11, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@christher-lenander
Copy link

Feature request

Summary

Add the same option object as find or findOne so you can populate relations in the user collection.

Why is it needed?

To eliminate the need to use custom query through strapi.axios to get role and other relations to user collection.

Suggested solution(s)

I want to be able to get the relation data related to usser in a simpler way than today.

sample query: api/users/me?populate=* to get all the related data that is relatet to the loged in user.

Related issue(s)/PR(s)

No related issue.

@christher-lenander christher-lenander added the enhancement New feature or request label Dec 11, 2023
@christher-lenander christher-lenander changed the title Add the same option as the find Add the same option object as find/findOne to the fetchUser() method Dec 11, 2023
@Stun3R
Copy link
Owner

Stun3R commented Nov 26, 2024

Hey 👋🏼
I will work on it in the following weeks and it could be publish in less than 2 weeks

@Stun3R Stun3R self-assigned this Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants