Skip to content

[7.1 API] Methods from Type should also exist on the Checker #63917

Description

Acknowledgement

  • I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.

Comment

Currently Type has many methods that make API calls to get the results. This is fine for convenience, but very slow because of IPC overhead. Some examples: (getSymbol, getAliasSymbol, getAliasTypeArguments)

Ideally all Type methods should have Checker equivalents that allow us to run them batched. Without these we are stuck making one request for each method call resulting in very many IPC calls and their associated performance overhead,

Metadata

Metadata

Labels

Needs InvestigationThis issue needs a team member to investigate its status.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions