Skip to content

Commit 762d3f5

Browse files
committed
Remoted SetAllPrimitive
1 parent 28d1196 commit 762d3f5

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

src/Linq2GraphQL.Client/QueryNode.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,6 @@ private static bool MustHaveChildren(Type type)
6262
!type.IsListOfPrimitiveTypeOrString();
6363
}
6464

65-
public void SetAddPrimitiveChildren()
66-
{
67-
if (!ChildNodes.Any())
68-
{
69-
IncludePrimitive = true;
70-
}
71-
foreach (var childNode in ChildNodes)
72-
{
73-
childNode.SetAddPrimitiveChildren();
74-
}
75-
}
7665

7766
public void AddChildNode(MemberInfo member, string name = null)
7867
{

0 commit comments

Comments
 (0)