Skip to content

fix: add schema hidden flag#1150

Open
amzxyz wants to merge 1 commit intorime:masterfrom
amzxyz:feat/schema-hidden-flag
Open

fix: add schema hidden flag#1150
amzxyz wants to merge 1 commit intorime:masterfrom
amzxyz:feat/schema-hidden-flag

Conversation

@amzxyz
Copy link
Copy Markdown

@amzxyz amzxyz commented Mar 15, 2026

Feature

Introduces a hidden boolean property to the Schema class, parsing the schema/hidden configuration from schema.yaml. This establishes a standardized parameter for frontend applications to query.

Additional Info

Currently, it is a common practice for users to create "pseudo-schemas name" (伪方案) simply to mount dictionaries or serve as base dependencies for other schemas. Because frontends typically read and display all available schemas, these dependency-only schemas unnecessarily clutter the user's selection menu.

By introducing a schema/hidden: true flag, we provide an elegant, official convention for frontend developers to filter out these non-interactive schemas, eliminating the need for traditional, hacky workarounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant