From 95bd64132b11232f09bb101f2b852a0aa0e6cb1f Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 24 Aug 2014 16:53:27 -0700 Subject: [PATCH] helper/schema: update docs --- helper/schema/schema.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helper/schema/schema.go b/helper/schema/schema.go index 9852ae318..b75451c2a 100644 --- a/helper/schema/schema.go +++ b/helper/schema/schema.go @@ -31,6 +31,9 @@ type Schema struct { // If one of these is set, then this item can come from the configuration. // Both cannot be set. If Optional is set, the value is optional. If // Required is set, the value is required. + // + // One of these must be set if the value is not computed. That is: + // value either comes from the config, is computed, or is both. Optional bool Required bool