Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(page): mark page.client() as internal (#7585)
This PR marks the .client() method as internal since we don't encourage our users to use it.
- Loading branch information
Showing
3 changed files
with
2 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8451951
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Disagree. There are various valid use cases for this and i dont see why you added a getter function for the internal _client property which has the sole purpose of making it public just to then make that getter function internal. Seems like nonsense to me.