-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add api 'get_full_schema_type' to return the schema ty with thi…
…rd party (#906) * feat: add api 'get_full_schema_type' to return the schema ty with third party Signed-off-by: zongz <[email protected]> * fix: fix windows test case Signed-off-by: zongz <[email protected]> * feat: fix CR comments Signed-off-by: zongz <[email protected]> * fix: add missing api in service Signed-off-by: zongz <[email protected]> --------- Signed-off-by: zongz <[email protected]>
- Loading branch information
Showing
18 changed files
with
314 additions
and
15 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"exec_args": { | ||
"work_dir" : "./src/testdata/get_schema_ty/aaa", | ||
"k_filename_list":[ | ||
"./src/testdata/get_schema_ty/aaa/main.k" | ||
], | ||
"external_pkgs": [ | ||
{ | ||
"pkg_name": "bbb", | ||
"pkg_path": "./src/testdata/get_schema_ty/bbb" | ||
} | ||
] | ||
}, | ||
"schema_name": "a" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"schema_type_list": [ | ||
{ | ||
"type": "schema", | ||
"union_types": [], | ||
"default": "", | ||
"schema_name": "B", | ||
"schema_doc": "", | ||
"properties": { | ||
"name": { | ||
"type": "str", | ||
"union_types": [], | ||
"default": "", | ||
"schema_name": "", | ||
"schema_doc": "", | ||
"properties": {}, | ||
"required": [], | ||
"key": null, | ||
"item": null, | ||
"line": 1, | ||
"decorators": [], | ||
"filename": "", | ||
"pkg_path": "", | ||
"description": "", | ||
"examples": {} | ||
} | ||
}, | ||
"required": [ | ||
"name" | ||
], | ||
"key": null, | ||
"item": null, | ||
"line": 0, | ||
"decorators": [], | ||
"filename": "./src/testdata/get_schema_ty/bbb/main.k", | ||
"pkg_path": "bbb", | ||
"description": "", | ||
"examples": {} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[package] | ||
name = "aaa" | ||
edition = "0.0.1" | ||
version = "0.0.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import bbb as b | ||
|
||
a = b.B { | ||
name: "b instance in a" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[package] | ||
name = "bbb" | ||
edition = "0.0.1" | ||
version = "0.0.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
schema B: | ||
name: str |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.