Module configy.attributes
Define UDAs that can be applied to a configuration struct
This module is stand alone (a leaf module) to allow importing the UDAs without importing the whole configuration parsing code.
Interfaces
Name | Description |
---|---|
ConfigParser
|
Interface that is passed to fromConfig hook
|
Structs
Name | Description |
---|---|
Key
|
Inform the config filler that this sequence is to be read as a mapping |
Name
|
Look up the provided name in the YAML node, instead of the field name. |
Only
|
Specify that a field only accept a limited set of string values. |
Optional
|
An optional parameter with an initial value of T
|
SetInfo
|
A field which carries informations about whether it was set or not |