Skip to content

Commit

Permalink
update NestingGroup docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jbardin committed Aug 16, 2019
1 parent 0479c2f commit de524fb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions configs/configschema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,11 @@ const (
// single instance of a given block type with no labels, but it additonally
// guarantees that its result will never be null, even if the block is
// absent, and instead the nested attributes and blocks will be treated
// as absent in that case. (Any required attributes or blocks within the
// nested block are not enforced unless the block is explicitly present
// in the configuration, so they are all effectively optional when the
// block is not present.)
// as absent in that case. (Due to the automatic instantiation of a missing
// NestingGroup block, any required attributes or blocks within the nested
// block effectively make the block itself required. Setting MinItems of 1
// is required to be set in this case to better communicate this
// requirement.)
//
// This is useful for the situation where a remote API has a feature that
// is always enabled but has a group of settings related to that feature
Expand Down

0 comments on commit de524fb

Please sign in to comment.