-
Notifications
You must be signed in to change notification settings - Fork 27
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
[Enhancement] Add AllOf validations for KCL jsonschema generations #212
Comments
For allOf keyword, a basic use case coule be:
In this case, the desgin to add AllOf validations is great. However, things get complicated if it is:
In this case, just adding some validation rules doesn't seem to be enough. Even worse, in some real-world situations, allOf is used with other conditional keywords (not, if, then...) For example in github workflow schema:
I'm not quite sure if it can all be perfectly converted to KCL. And more design and transformation rules is needed. I'm currently working on improving the import tool (#200) and have made some progress. Maybe later we can have further communication on how to make it better :) |
Great job 👍 For complex validation combinations, my current idea is to aim to connect 5 typical use cases, such as the GitHub workflow JSON schema. For specific implementation, we can first represent the input and output of some typical cases. Of course, for some corner cases, there may indeed be conversion difficulties that need to be viewed separately. Here's some references
|
@Peefy Hello, I would like to work on this issue. I am new to the project so can you please give me an overview of the issue. |
If this issue is still relevant, I would like to work on it! |
Before
The text was updated successfully, but these errors were encountered: