Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: deprecate and clean up variable-related methods. #8415

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

gonfunko
Copy link
Contributor

The basics

The details

Resolves

Fixes #8083

Proposed Changes

This PR deprecates the variable-related methods in Workspace that simply pass through calls to the VariableMap. Callers should retrieve the VariableMap from the workspace and call the corresponding methods on it.

Several internal methods that are not in the variable interfaces, have been moved to the Variables namespace, or are unnecessary have been deleted.

@gonfunko gonfunko requested a review from a team as a code owner July 22, 2024 17:23
@gonfunko gonfunko requested a review from BeksOmega July 22, 2024 17:23
Copy link
Collaborator

@BeksOmega BeksOmega left a comment

Choose a reason for hiding this comment

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

Sorry for the late review :/

core/variable_map.ts Show resolved Hide resolved
core/workspace.ts Show resolved Hide resolved
core/variable_map.ts Show resolved Hide resolved
@gonfunko gonfunko merged commit 91892ac into google:rc/v12.0.0 Jul 23, 2024
7 checks passed
@gonfunko gonfunko deleted the variable-deprecations branch July 23, 2024 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants