提交 4fea1583 编写于 作者: A aarzilli 提交者: Derek Parker

Documentation: mention that interfaces can also not be loaded

An interface with a children that has onlyAddr set to true was not
loaded due to the depth limit having been reached.
上级 087431f0
...@@ -200,6 +200,7 @@ the user of this: ...@@ -200,6 +200,7 @@ the user of this:
* For strings, arrays, slices *and structs* the load is incomplete if: `Variable.Len > len(Variable.Children)`. This can happen to structs even if LoadConfig.MaxStructFields is -1 when MaxVariableRecurse is reached. * For strings, arrays, slices *and structs* the load is incomplete if: `Variable.Len > len(Variable.Children)`. This can happen to structs even if LoadConfig.MaxStructFields is -1 when MaxVariableRecurse is reached.
* For maps the load is incomplete if: `Variable.Len > len(Variable.Children) / 2` * For maps the load is incomplete if: `Variable.Len > len(Variable.Children) / 2`
* For interfaces the load is incomplete if the only children has the onlyAddr attribute set to true.
### Loading more of a Variable ### Loading more of a Variable
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册