From 4fea15832f50a16a74d0a443cbad3441f1f41449 Mon Sep 17 00:00:00 2001 From: aarzilli Date: Mon, 3 Sep 2018 15:06:15 +0200 Subject: [PATCH] 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. --- Documentation/api/ClientHowto.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/api/ClientHowto.md b/Documentation/api/ClientHowto.md index a7ab1aef..63d279e2 100644 --- a/Documentation/api/ClientHowto.md +++ b/Documentation/api/ClientHowto.md @@ -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 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 -- GitLab