Skip to content

refPath not appoluate doc model #120

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

Open
Timebear000 opened this issue Aug 23, 2024 · 1 comment
Open

refPath not appoluate doc model #120

Timebear000 opened this issue Aug 23, 2024 · 1 comment

Comments

@Timebear000
Copy link

Timebear000 commented Aug 23, 2024

An issue has occurred in the package. The problem is with the autopopulate option using refPath. It has been confirmed that it works well in a single case but does not work when it is an array.

image

image

type : mongoose.Schema.Types.ObjectId => OK
type : [mongoose.Schema.Types.ObjectId] => No

Help

@Timebear000
Copy link
Author

Timebear000 commented Aug 23, 2024

해결
image

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

No branches or pull requests

1 participant