View Source Spark.OptionsHelpers (spark v2.2.35)
Helpers for working with options lists.
Summary
Functions
append_doc!(options, field, to_append)
deprecated
docs(schema)
deprecated
Creates markdown documentation for a given schema.
make_optional!(options, field)
deprecated
make_required!(options, field)
deprecated
merge_schemas(left, right, section \\ nil)
deprecated
set_default!(options, field, value)
deprecated
set_type!(options, field, type)
deprecated
validate(opts, schema)
deprecated
validate!(opts, schema)
deprecated
Functions
This function is deprecated. use `Spark.Options.Helpers.append_doc!/3`.
This function is deprecated. Use `Spark.Options.docs/1` instead.
Creates markdown documentation for a given schema.
This function is deprecated. use `Spark.Options.Helpers.make_optional!/2`.
This function is deprecated. use `Spark.Options.Helpers.make_required!/2`.
This function is deprecated. Use `Spark.Options.merge/3` instead.
This function is deprecated. use `Spark.Options.Helpers.set_default!/3`.
This function is deprecated. use `Spark.Options.Helpers.set_type!/3`.
This function is deprecated. Use `Spark.Options.validate/2` instead.
This function is deprecated. Use `Spark.Options.validate!/2` instead.