Skip to content

Commit

Permalink
Redundant IHasScope removed (#5338)
Browse files Browse the repository at this point in the history
  • Loading branch information
nirzaf committed Aug 25, 2022
1 parent ca67ded commit b79e112
Showing 1 changed file with 4 additions and 5 deletions.
@@ -1,6 +1,6 @@
using System.Linq.Expressions;
using System.Linq.Expressions;
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Reflection;
using HotChocolate.Internal;
using HotChocolate.Types;
Expand All @@ -11,7 +11,6 @@ namespace HotChocolate.Data.Filters;

public class FilterFieldDefinition
: InputFieldDefinition
, IHasScope
, IFilterFieldDefinition
{
private List<int>? _allowedOperations;
Expand All @@ -24,7 +23,7 @@ public class FilterFieldDefinition

internal IFilterMetadata? Metadata { get; set; }

public string? Scope { get; set; }
public string? Scope { get; set; }

public List<int> AllowedOperations => _allowedOperations ??= new List<int>();

Expand Down Expand Up @@ -71,5 +70,5 @@ internal void MergeInto(FilterFieldDefinition target)
{
target.CreateFieldTypeDefinition = CreateFieldTypeDefinition;
}
}
}
}

0 comments on commit b79e112

Please sign in to comment.