-
Notifications
You must be signed in to change notification settings - Fork 7
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
Hide the [@zenuml/core] Store is a function and is not initiated in 1 second.
warning
#169
Comments
Bumping this, would love to have this option |
I also support this |
maybe this #193 helps to reduce the confusion. My intention was to make the warning sound like a warning and not like an error |
This warning, originally put in place due to issues with clients having to initialise the store manually, is no longer relevant. These issues were prevalent in the early days, but our new API has largely eliminated the prospect of the store not initializing. have removed the warning via this pull request: #194. |
Hi @aloisklink, do you want me to bump @zeuml/core version to the latest in the |
It should be fine, since the current I think one of the automated @renovatebot PRs like mermaid-js/mermaid#5961 will bump the |
The
@mermaid-js/mermaid-cli
program uses@mermaid-js/mermaid-zenuml
as a dependency, which then uses@zenuml/core
.It sounds like a
[@zenuml/core] Store is a function and is not initiated in 1 second.
warning is being logged due to the following line of code:zenuml-core/src/store/Store.ts
Lines 14 to 21 in 7658a1c
This warning is causing some confusion with
@mermaid-js/mermaid-cli
users (see mermaid-js/mermaid-cli#588), and it makes our test logs messier.It looks like a timer is started whenever
@zenuml/core
is imported, and that warning is automatically printed if ZenUML isn't used within 1 second.Is there any chance we can remove this warning, or at least hide it by default?
The text was updated successfully, but these errors were encountered: