Open soubinan opened 1 month ago
Good Ideas! cc @He1pa
good idea. I will impl this feature later
Thank you @He1pa, I could say the case is applicable to lambdas functions too
I would like to add that we can also add index signature hover information to the schema. e.g.,
schema Config[foo:str, bar:str]:
[...str]: any
domain: str = foo
name: str = bar
abc?: str = ""
xyz?: bool = False
Enhancement
What we have today
The corresponding model is
Would be very useful to have default values from the preview so the user could know what are the default values at the time he wants to instanciate a configuration from a given model.