public static void SetMemberName(this GraphQLModule module, Type type, string memberName, string name) { module.Adjustments.Add(new ModelAdjustment() { Type = type, MemberName = memberName, Attribute = new GraphQLNameAttribute(name) }); }
public static void IgnoreMember(this GraphQLModule module, Type type, string memberName) { module.Adjustments.Add(new ModelAdjustment() { Type = type, MemberName = memberName, Attribute = new IgnoreAttribute() }); }