Skip to content

Expose walker publicly on Designer #109

@goldsam

Description

@goldsam

The only way i see to easily query a Definition is to manually create an instance of DefinitionWalker to use. It seems like it would be more appropriate to use the walker property of Designer, but it is private.

private constructor(
private readonly view: DesignerView,
private readonly state: DesignerState,
private readonly walker: DefinitionWalker,
private readonly historyController: HistoryController | undefined,
private readonly api: DesignerApi
) {}

This instance seems to be the source of "truth" for the rules to visiting/querying a definition. Would you consider changing walker to be a public property?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions