📄️ Retrieving a configuration
To retrieve a configuration from Gestalt we need the path to the configuration as well as what type of class.
📄️ Retrieving Complex Objects
To retrieve a complex object, you need to pass in the class for Gestalt to return. Gestalt will automatically use reflection to create the object, determine all the fields in the requested class, and then lookup the values in the configurations to inject into the object. It will attempt to use the setter fields first, then fallback to directly setting the fields.
📄️ Retrieving Interfaces and Generics
To get an interface you need to pass in the interface class for gestalt to return.
📄️ Kotlin
For Kotlin Gestalt includes several extension methods that allow easier use of Gestalt by way of reified functions to better capture the generic type information.
📄️ Path Mapping
Searching for path while Decoding Objects