Skip to content

instancio/instancio-samples

Repository files navigation

Instancio Sample Projects

Sample project used for the article: Creating object templates using Models

A small sample illustrating reduction in code by eliminating manual data setup.

A GeneratorProvider that automatically maps generators to classes/fields. This removes the need to specify custom generators manually via the API.

A custom TypeResolver that scans the classpath to find implementation classes for interfaces. This eliminates the need for specifying subtype() manually. Classpath scanning is implemented using ClassGraph.