View Source Smokestack.RelatedBuilder (smokestack v0.5.0-rc.0)
Recursively build the factory and any related factories that have been requested.
Summary
Types
A nested keyword list of associations that should also be built.
Functions
Build related factories, if required.
Types
@type build_option() :: {:build, Smokestack.recursive_atom_list()}
A nested keyword list of associations that should also be built.
@type error() :: Smokestack.FactoryBuilder.error() | Exception.t()
@type option() :: build_option() | Smokestack.FactoryBuilder.option()
Functions
@spec build(Smokestack.Dsl.Factory.t(), [option()]) :: {:ok, result()} | {:error, error()}
Build related factories, if required.