Skip to content

Conversation

@FrederikBolding
Copy link
Member

Description

Move SubjectMetadataController to permission-controller package since these two packages are heavily coupled.

This also prevents circular dependency issues in the future if we want to access SubjectMetadataController data within PermissionController

Changes

  • BREAKING: Moved SubjectMetadataController to permission-controller package
    • This deprecates the subject-metadata-controller package

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

@FrederikBolding FrederikBolding requested a review from a team as a code owner April 20, 2023 12:42
@FrederikBolding FrederikBolding changed the title Move SubjectMetadataController to permission-controller package Move SubjectMetadataController to permission-controller package Apr 20, 2023
@FrederikBolding FrederikBolding changed the title Move SubjectMetadataController to permission-controller package BREAKING: Move SubjectMetadataController to permission-controller package Apr 20, 2023
Copy link
Member

@Mrtenz Mrtenz left a comment

Choose a reason for hiding this comment

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

You may have to run yarn generate-dependency-graph.

Gudahtt
Gudahtt previously approved these changes Apr 20, 2023
Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM!

@Gudahtt Gudahtt dismissed their stale review April 20, 2023 12:46

Graph needs re-generating

@FrederikBolding
Copy link
Member Author

@Mrtenz @Gudahtt Done!

@FrederikBolding FrederikBolding merged commit f5a1683 into main Apr 20, 2023
@FrederikBolding FrederikBolding deleted the fb/move-subject-metadata-controller branch April 20, 2023 13:02
@legobeat legobeat mentioned this pull request Apr 25, 2023
FrederikBolding added a commit to MetaMask/metamask-extension that referenced this pull request Oct 9, 2023
## **Description**

The `SubjectMetadataController` and its utilities were moved to the
`permission-controller` package a while back
(MetaMask/core#1234). This PR removes usage of
the old deprecated package in favor of `permission-controller`. There
should be no functionality changes by this change.
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
…ackage (#1234)

* Move SubjectMetadataController to permission-controller package

* Update imports

* Update dep graph
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
…ackage (#1234)

* Move SubjectMetadataController to permission-controller package

* Update imports

* Update dep graph
k-g-j pushed a commit to MetaMask/metamask-extension that referenced this pull request Nov 1, 2023
## **Description**

The `SubjectMetadataController` and its utilities were moved to the
`permission-controller` package a while back
(MetaMask/core#1234). This PR removes usage of
the old deprecated package in favor of `permission-controller`. There
should be no functionality changes by this change.
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.

4 participants