ardalis / Specification

Base class with tests for adding specifications to a DDD model

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove obsolete API

fiseni opened this issue · comments

In the next release, we might finally drop the support for the following obsolete methods

  [Obsolete]
  Task<T?> GetBySpecAsync(ISpecification<T> specification, CancellationToken cancellationToken = default);
  [Obsolete]
  Task<TResult?> GetBySpecAsync<TResult>(ISpecification<T, TResult> specification, CancellationToken cancellationToken = default);