We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我想基於 #138 #146 #148 繼續做 ConfigCompiler 的插件。用來兼容舊有的配置文件。
ConfigCompiler
<x>.custom.yaml:/patch?
<x>
.schema
<component>/import_preset:
translator/dictionary: x
<x>.dict.yaml
Config
Excited!
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
我想基於
#138
#146
#148
繼續做
ConfigCompiler
的插件。用來兼容舊有的配置文件。<x>.custom.yaml:/patch?
,<x>
是當前配置文檔的 ID(或須去除.schema
後綴)<component>/import_preset:
轉換爲節點引用,及合併操作translator/dictionary: x
改造爲引用<x>.dict.yaml
的配置部分以上都完成以後,所有當前方案所需的配置都加載(編譯)到一份
Config
裏面了——可以把他緩存下來(以基本 YAML 或二進制文件)不用每次編譯。進而可以把編譯侷限在部署階段,最終把部署程序從輸入法分離出來。Excited!
The text was updated successfully, but these errors were encountered: