Maru. Params. Builder
(maru_params v0.2.15)
Copy Markdown
Summary
Functions
Merge the params blocks of a Maru.Params.Schema module into the current level.
Functions
Merge the params blocks of a Maru.Params.Schema module into the current level.
The referenced module is only called inside a function body, so it is a runtime
dependency: editing it does not recompile the modules including it. For the same
reason nothing about it can be checked at compile time, use
Maru.Params.verify_all/1 at boot or in a test instead.
Examples
include MyApp.Params.Address
include MyApp.Params.Address, only: :basic
include MyApp.Params.Address, only: [:basic, :full]
include MyApp.Params.Address, except: [:full]