Skip to content

Broken link in docs for "populate virtual" #10870

Closed
@adamreisnz

Description

@adamreisnz
Contributor

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

added
docsThis issue is due to a mistake or omission in the mongoosejs.com documentation
on Oct 12, 2021
added this to the 6.0.12 milestone on Oct 14, 2021
linked a pull request that will close this issuefixed links #10890on Oct 15, 2021
adamreisnz

adamreisnz commented on Oct 19, 2021

@adamreisnz
ContributorAuthor

@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?

image

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

vkarpov15 commented on Oct 19, 2021

@vkarpov15
Collaborator
adamreisnz

adamreisnz commented on Oct 19, 2021

@adamreisnz
ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

docsThis issue is due to a mistake or omission in the mongoosejs.com documentation

Type

No type

Projects

No projects

Relationships

None yet

    Development

    Participants

    @adamreisnz@vkarpov15@IslandRhythms

    Issue actions

      Broken link in docs for "populate virtual" · Issue #10870 · Automattic/mongoose