From 88a69536317c1dc38d4a459b4d58151d4f34c10d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Dang=C3=A5rden?= Date: Thu, 6 Nov 2025 10:11:59 +0100 Subject: [PATCH] Fixed Attribute constructor --- .../Attributes/GraphQLMemberAttribute.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Linq2GraphQL.Client/Attributes/GraphQLMemberAttribute.cs b/src/Linq2GraphQL.Client/Attributes/GraphQLMemberAttribute.cs index ff6a0f3c..6002ae68 100644 --- a/src/Linq2GraphQL.Client/Attributes/GraphQLMemberAttribute.cs +++ b/src/Linq2GraphQL.Client/Attributes/GraphQLMemberAttribute.cs @@ -3,7 +3,12 @@ [AttributeUsage(AttributeTargets.Property | AttributeTargets.Method)] public class GraphQLMemberAttribute : Attribute { - public GraphQLMemberAttribute(string graphQLName, bool interfaceProperty = false) + public GraphQLMemberAttribute(string graphQLName) + { + GraphQLName = graphQLName; + } + + public GraphQLMemberAttribute(string graphQLName, bool interfaceProperty) { GraphQLName = graphQLName; InterfaceProperty = interfaceProperty;