Skip to content

refactor: Use IVariableModel instead of VariableModel. - #8400

Merged
gonfunko merged 2 commits into
RaspberryPiFoundation:rc/v12.0.0from
gonfunko:use-ivariable-model
Jul 19, 2024
Merged

refactor: Use IVariableModel instead of VariableModel.#8400
gonfunko merged 2 commits into
RaspberryPiFoundation:rc/v12.0.0from
gonfunko:use-ivariable-model

Conversation

@gonfunko

Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

Fixes#8370

Proposed Changes

This PR updates core to use IVariableModel rather than hard-coding VariableModel. It also updates code that was directly accessing properties on VariableModel to use the getter/setter methods defined in the IVariableModel interface.

@gonfunko
gonfunko requested a review from a team as a code ownerJuly 19, 2024 18:00
@gonfunko
gonfunko requested a review from BeksOmegaJuly 19, 2024 18:00
@github-actionsgithub-actionsBot added the PR: refactor Refactors code label Jul 19, 2024
Comment threadcore/field_variable.ts
@gonfunko
gonfunko merged commit 294ef74 into RaspberryPiFoundation:rc/v12.0.0Jul 19, 2024
@gonfunko
gonfunko deleted the use-ivariable-model branch July 19, 2024 21:58
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: refactorRefactors code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@gonfunko@BeksOmega