Closed LeoLiuYan closed 1 year ago
Misspell? s/Server
/NewServer
Besides, U can use schema single inheritance:
schema NewServer(frontend.Server):
change konfig/appops/guestbook-frontend/test/main.k as follows:
import base.pkg.kusion_models.test.frontend as testFrontend
appConfiguration: testFrontend.Server {}
Becase files in kcl.yaml
are seen as the same package, where the frontend package alias is overridden.
fixed, closed the issue
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
konfig/appops/guestbook-frontend/test/main.k
konfig/appops/guestbook-frontend/test/kcl.yaml
konfig/base/pkg/kusion_models/test/frontend/server.k
konfig/base/pkg/kusion_models/test/render/render.k
2. What did you expect to see? (Required)
kusion compile success.
3. What did you see instead (Required)
4. What is your KusionStack components version? (Required)