Skip to content

Conversation

@jordan-smith721
Copy link
Collaborator

(cherry picked from commit a348602)

Pull Request Info

PR Reviewing Guidelines

Staging - https://docs-mongodbcom-staging.corp.mongodb.com/node/docsworker-xlarge/v4.3/fundamentals/typescript/#mutual-recursion

Self-Review Checklist

  • Is this free of any warnings or errors in the RST?
  • Did you run a spell-check?
  • Did you run a grammar-check?
  • Are all the links working?

Copy link
Contributor

@ccho-mongodb ccho-mongodb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, left a suggestion to reduce duplicated info.

4.3 of the driver.
.. important::

In this driver version, you cannot specify a mutually recursive type as a
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion:
This seems like repeated content with the first sentence. I think it could be more straightforward to lead this section with the sentence "You cannot specify a ..." and then have an informational admonition that follows mentioning that you can use mutually recursive types in type parameters in v4.11 and later.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed that would make things read a bit smoother. Since the other versions (v4-10) have this admonition I'm leaning towards merging as-is for consistency's sake, but I can create a quick cleanup ticket to reword at a later time

@jordan-smith721 jordan-smith721 merged commit 9cbc6f7 into mongodb:v4.3 Dec 6, 2022
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.

2 participants