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

serviceconnector: Use createContextValue for tree items #1576

Merged
merged 2 commits into from
Sep 5, 2023

Conversation

motm32
Copy link
Contributor

@motm32 motm32 commented Aug 31, 2023

@motm32 motm32 requested a review from a team as a code owner August 31, 2023 23:39
import * as vscode from 'vscode';
import { getIconPath } from "./IconPath";
import { ServiceConnectorTreeItem } from "./ServiceConnectorTreeItem";

export class ServiceConnectorGroupTreeItem extends AzExtParentTreeItem {
constructor(parent: AzExtParentTreeItem, public readonly resourceId: string) {
constructor(parent: AzExtParentTreeItem, public readonly resourceId: string, public readonly contextValuesToAdd: string[]) {
Copy link
Member

Choose a reason for hiding this comment

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

Does this need to be public?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was following what was done in the appService package but I don't think it technically needs to.

Copy link
Member

Choose a reason for hiding this comment

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

I'd make it private since it isn't used anywhere else.

@motm32 motm32 merged commit c070598 into main Sep 5, 2023
@motm32 motm32 deleted the meganmott/fix2565 branch September 5, 2023 17:33
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.

3 participants