Skip to content

using instances() across modules #1588

Answered by Peefy
warmuuh asked this question in Q&A
Aug 21, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Have you tried this argument?

See the change list in KCL v0.9.x https://www.kcl-lang.io/blog/2024-07-05-kcl-0.9.0-release#language

Because obtaining instances across packages is a side effect function, by default only schema instances from the main package will be obtained.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@warmuuh
Comment options

@Peefy
Comment options

Answer selected by Peefy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants