Init: Autogenerate classes from nix interfaces

This commit is contained in:
Johannes Kirschbauer
2024-07-17 23:11:15 +02:00
parent fd0ebc7ec0
commit 7e84eaa4b3
8 changed files with 416 additions and 192 deletions

View File

@@ -318,7 +318,7 @@ rec {
# return jsonschema property definition for submodule
# then (lib.attrNames (option.type.getSubOptions option.loc).opt)
then
parseOptions' (option.type.getSubOptions option.loc)
example // description // parseOptions' (option.type.getSubOptions option.loc)
# throw error if option type is not supported
else
notSupported option;