Skip to content

[Feature] 希望监听到ProjecSchema.config的变化 #2262

@eightHundreds

Description

@eightHundreds

背景

ProjectSchema.config在我的实际需求中会比较容易变化。

之前的方案是修改ProjectSchema,再用project.importSchema去更新,并用project.onChangeDocument去监听变化,但是这种方案会引发#1122 问题。 官方没对这个api没有很清晰的描述,我只能假定该方法只适合初始化是调用。于是改成,project.setConfig方式修改config。但这个api无法被监听。

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed / 老铁,赚 PR 的机会来了

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions