Skip to content

Conversation

@gonfunko
Copy link
Contributor

@gonfunko gonfunko commented Jul 19, 2024

The basics

-[x] I validated my changes

The details

Resolves

Fixes #8371, #8079, #8075

Proposed Changes

This PR uses IVariableMap in place of hardcoding VariableMap. It also refactors variable deletion handling; the VariableMap methods getVariableUsesById and deleteVariableById are deprecated and moved to the Variables namespace.

Breaking Change

The VariableMap.deleteVariable method now unconditionally deletes uses of the variable in question as well.

@gonfunko gonfunko requested a review from a team as a code owner July 19, 2024 22:06
@gonfunko gonfunko requested a review from rachel-fenichel July 19, 2024 22:06
@gonfunko gonfunko changed the title refactor! Use IVariableMap instead of VariableMap refactor!: Use IVariableMap instead of VariableMap Jul 19, 2024
@github-actions github-actions bot added breaking change Used to mark a PR or issue that changes our public APIs. PR: refactor labels Jul 19, 2024
@gonfunko gonfunko merged commit 21c0a7d into RaspberryPiFoundation:rc/v12.0.0 Jul 22, 2024
@gonfunko gonfunko deleted the use-ivariable-map branch July 22, 2024 16:18
@tashee tashee mentioned this pull request Oct 1, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Used to mark a PR or issue that changes our public APIs. PR: refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants