The premium version of MappingGenerator provides
Advanced Object Scaffolder module that allows for the customization of how the object initialization is scaffolded.
We have the following options at our disposal:
Option to choose value generator:
Dummy values- use predefined constant values based on the type
Random values- randomly generated values based on the type
Implicit default values- non-complex fields are assigned to
Explicit default values- non-complex fields are assigned to
Local variables- Use locally available symbols (local variables, method parameters, containing object members)
new Type() and
new() object creation syntax.
Limit nesting level (useful for scaffolding recursive types or large object graphs).
Define how many elements generate for collection initialization.
Control the order of the initialized properties.
Specify how lambda properties are generated.