Skip to content

Commit 88a6953

Browse files
committed
Fixed Attribute constructor
1 parent 1fee21c commit 88a6953

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/Linq2GraphQL.Client/Attributes/GraphQLMemberAttribute.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Method)]
44
public class GraphQLMemberAttribute : Attribute
55
{
6-
public GraphQLMemberAttribute(string graphQLName, bool interfaceProperty = false)
6+
public GraphQLMemberAttribute(string graphQLName)
7+
{
8+
GraphQLName = graphQLName;
9+
}
10+
11+
public GraphQLMemberAttribute(string graphQLName, bool interfaceProperty)
712
{
813
GraphQLName = graphQLName;
914
InterfaceProperty = interfaceProperty;

0 commit comments

Comments
 (0)