apache / apache/echarts

[Feature] throw error if a module is not included but is used in option

Open
#13,895 5 comments 0 reactions 0 assignees View on GitHub
en new-feature
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?
In my case, using an option which has non-included module won't throw error, e.g. if `title module` is not included but is used in option, there won't be any error in the console. It took me a long time to debug this issue, turned out `title module` wasn't included XD.

### What does the proposed API look like?
Print error message in the console if a module is not included but is used in option.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.