Skip to content

Make network controller internal fields private - #1189

Merged
Gudahtt merged 2 commits into
mainfrom
make-internal-network-controller-fields-private
Apr 17, 2023
Merged

Make network controller internal fields private#1189
Gudahtt merged 2 commits into
mainfrom
make-internal-network-controller-fields-private

Conversation

@Gudahtt

Copy link
Copy Markdown
Member

Description

Internal network controller methods and fields are now private fields, using the JavaScript # syntax rather than the private TypeScript keyword.

Changes

  • CHANGED: Use JavaScript private fields rather than private TypeScript keyword

References

Closes#1177

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation for new or updated code as appropriate (note: this will usually be JSDoc)
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate

@Gudahtt
Gudahtt marked this pull request as ready for review April 14, 2023 18:34
@Gudahtt
Gudahtt requested a review from a team as a code ownerApril 14, 2023 18:34
mcmire
mcmire previously approved these changes Apr 14, 2023

@mcmiremcmire left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks great!

@Gudahtt
Gudahttforce-pushed the make-internal-network-controller-fields-private branch from d9a3bd7 to a0cfdb4CompareApril 14, 2023 18:44
@Gudahtt

Copy link
Copy Markdown
MemberAuthor

Rebased to resolve conflicts

@Gudahtt

This comment was marked as resolved.

Internal network controller methods and fields are now private fields,
using the JavaScript `#` syntax rather than the `private` TypeScript
keyword.
Closes#1177
@Gudahtt
Gudahttforce-pushed the make-internal-network-controller-fields-private branch from a0cfdb4 to 38330e4CompareApril 17, 2023 12:09
@Gudahtt
Gudahtt merged commit 7dc2b3d into mainApr 17, 2023
@Gudahtt
Gudahtt deleted the make-internal-network-controller-fields-private branch April 17, 2023 15:55
@legobeatlegobeat mentioned this pull request Apr 25, 2023
Sign up for freeto 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.

NetworkController API normalization: Make internal methods and properties private

2 participants

@Gudahtt@mcmire