Skip to content

Commit

Permalink
chore: update nimbleoptions
Browse files Browse the repository at this point in the history
  • Loading branch information
cylkdev committed Sep 4, 2022
1 parent 6f71934 commit 8d3ba29
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions lib/factory_ex/options_validator.ex
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,13 @@ defmodule FactoryEx.OptionsValidator do
]

@build_schema_factory_definition [
factories: [
type: {:list, :atom},
doc: "Sets the factory modules for the schema factory, expects a module `:atom`"
app: [
type: :atom,
doc: "Sets the app to load the factory modules. Can be a `:atom`."
],
paths: [
type: {:list, :string},
doc: "Sets the list of paths to autoload factory modules for the schema factory, can be a list of `:string`"
],
schema_factory: [
type: :any,
doc: "Sets the values to merge into the schema factory, can be a map."
app: [
type: :atom,
doc: "Sets the prefix of the factory modules to load. Can be a module `:atom`."
]
]

Expand Down

0 comments on commit 8d3ba29

Please sign in to comment.