Merge pull request #20309 from chanzuckerberg/ryanking/remove_lifecycle_comment

helper/schema: Remove comment about nested schema.Resources having their own lifecycle
This commit is contained in:
Radek Simko 2019-08-08 13:48:22 +01:00 committed by GitHub
commit 7861cc6141
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,7 +171,7 @@ type Schema struct {
// TypeInt, or TypeFloat. Otherwise it may be either a *Schema or a
// *Resource. If it is *Schema, the element type is just a simple value.
// If it is *Resource, the element type is a complex structure,
// potentially with its own lifecycle.
// potentially managed via its own CRUD actions on the API.
Elem interface{}
// The following fields are only set for a TypeList or TypeSet.