Skip to content
Snippets Groups Projects
Commit 7ec1521f authored by Alexander Turenko's avatar Alexander Turenko Committed by Igor Munkin
Browse files

config/schema: add <schema object>:apply_default()

This method adds default values from the `default` annotation for missed
fields. The annotation is supported for scalar values. The default can
be conditional, it is controlled by the `apply_default_if` annotation.

Part of #8725

NO_DOC=the module is for internal use from the config code
NO_CHANGELOG=see NO_DOC
parent ff32a04b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment