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

Update Part 3c Mongo Cluster Onboarding #503

Closed
wants to merge 3 commits into from
Closed

Update Part 3c Mongo Cluster Onboarding #503

wants to merge 3 commits into from

Conversation

gwpantazes
Copy link
Contributor

Update mongo onboarding steps and mongoose code sample

Update mongo onboarding documentation and mongoose code sample.

Mongo UI flow changed, so updating that just to be up-to-date.

I followed the steps in the course as best I could and I got admin database as my given SRV string not test, so adding an important NB to save people time from this frustrating new change.

Adding useUnifiedTopology fixes a deprecation error (discussed at  Automattic/mongoose#8156 ).

Handling/resolving promises eliminates deprecation warnings in the code.
@mluukkai
Copy link
Contributor

mluukkai commented Oct 8, 2019

great improvements, however I can not merge quite yet since .finally is not currently covered in text.

Don't use finally in the code sample because it hasn't yet been covered in the text.
@gwpantazes
Copy link
Contributor Author

@mluukkai I've removed the use of finally. Now the mongoose close code is closer to how it looked originally, in the then response callback.

@marklaatikainen
Copy link
Collaborator

Pull request has conflicts, so closing it now. If needed, PR can be reopened after conflicts are resolved.

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.

None yet

3 participants