Skip to content

Commit

Permalink
Mark FilterSets as obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
YuriyDurov committed Jul 2, 2024
1 parent d1eb967 commit e87c2fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public static class FilterSetExtensions
/// <param name="query"></param>
/// <param name="filterSet"></param>
/// <returns></returns>
[Obsolete]
public static IQueryable<TSource> Apply<TSource>(this IQueryable<TSource> query, IFilterSet<TSource> filterSet)
where TSource : class
{
Expand Down
4 changes: 3 additions & 1 deletion src/BitzArt.LinqExtensions/Interfaces/IFilterSet.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
using System.Linq;
using System;
using System.Linq;

namespace BitzArt;

/// <summary>
/// A set of filters to apply to a query.
/// </summary>
/// <typeparam name="TSource"></typeparam>
[Obsolete]
public interface IFilterSet<TSource> where TSource : class
{
/// <summary>
Expand Down

0 comments on commit e87c2fe

Please sign in to comment.