Closed
Description
In this section: https://mongoosejs.com/docs/api/schema.html#schema_Schema-virtual
The link for Marks this as a populate virtual
is broken. It points to https://mongoosejs.com/docs/api/populate.html#populate-virtuals which doesn't exist.
The following links for See populate virtual docs for more information
are also broken.
I was looking at this section to find out if a virtual with a reference can also be manually set on a document.
Activity
Schema.prototype.virtual()
leads to 404 #10898adamreisnz commentedon Oct 19, 2021
@vkarpov15 @IslandRhythms I'm not sure that PR fixes this issue?
Neither of these links appear to be valid:
https://mongoosejs.com/docs/api/populate.html#populate-virtuals
https://mongoosejs.com/api/populate.html#populate-virtuals
And the
/docs
part is the only thing this PR seems to add?Also, in my original comment, I note that the URL that it was pointing to already contained
/docs
, so maybe the whole URL is wrong altogether?vkarpov15 commentedon Oct 19, 2021
Looks like this PR fixes it. https://mongoosejs.com/docs/api/populate.html#populate-virtuals is not valid, but https://mongoosejs.com/docs/populate.html#populate-virtuals is.
adamreisnz commentedon Oct 19, 2021