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;