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

Supporting mongoose autopopulate #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

freeworlder
Copy link

When mongoose is used together with mongoose-autopopulate (officially supported by mongoose), admin bro doesn't show values of the field referencing other models. This is because instead of ids those fields contain whole object.
This is an updated version of adminbro mongoose adapter that disables autopopulate for its requests and thus resolves the above problem.

@dziraf
Copy link
Contributor

dziraf commented Feb 24, 2022

Could you fix conflicts so I can review your PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants