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

fix existing faq for array-defaults #6695

Merged
merged 2 commits into from
Jul 8, 2018
Merged

fix existing faq for array-defaults #6695

merged 2 commits into from
Jul 8, 2018

Conversation

lineus
Copy link
Collaborator

@lineus lineus commented Jul 8, 2018

Currently the FAQ says You can set the default of the array to a function that returns null but the example returns undefined. I think it would be useful to have both distinct possibilities in the FAQ.

make docclean && make gendoc && node static

screen shot 2018-07-08 at 8 21 07 am

@vkarpov15 vkarpov15 added this to the 5.2.2 milestone Jul 8, 2018
@vkarpov15 vkarpov15 added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Jul 8, 2018
@vkarpov15 vkarpov15 merged commit 30e2e95 into Automattic:master Jul 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants