Skip to content

support Go API for GetSchemaTypeMapping #123

@amyXia1994

Description

@amyXia1994

Feature Request

Is your feature request related to a problem? Please describe:

We have rest API rpc GetSchemaTypeMapping(GetSchemaTypeMapping_Args) returns(GetSchemaTypeMapping_Result); on kcl-py but the corresponding Go API is missing.

The GetSchemaTypeMapping((file: string, code:string) is required to export HIR of KCL schema, which could be used to integrate other tools, like kcl-doc, vscode-kcl low code create from schema, etc.

Describe the feature you'd like:

add GetSchemaTypeMapping((file: string, code:string) Go API

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions