Skip to content
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

Schema back reference does not output expected results. #231

Closed
zong-zhe opened this issue Oct 10, 2022 · 0 comments
Closed

Schema back reference does not output expected results. #231

zong-zhe opened this issue Oct 10, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@zong-zhe
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

x0 = Person {}

schema Person:
    name: str = "kcl"
    age: int = 1

2. What did you expect to see? (Required)

x0:
  name: kcl
  age: 1

3. What did you see instead (Required)

x0: {}

4. What is your KusionStack components version? (Required)

kclvm version is 0.4.3; checksum: e07ed7af0d9bd1e86a3131714e4bd20c

@zong-zhe zong-zhe added the bug Something isn't working label Oct 10, 2022
@zong-zhe zong-zhe added this to the v0.4.4 Release milestone Oct 10, 2022
@zong-zhe zong-zhe self-assigned this Oct 10, 2022
zong-zhe added a commit that referenced this issue Oct 11, 2022
* Fix(kclvm-codegen): fix schema back ref.

fix schema back reference exception.

issue #231

* fix mistake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant