Closed bhugot closed 3 years ago
Thanks for pointing this out. I'll publish an update that includes this.
@bhugot I've added a new extension method in the v0.9.1-beta release in the DurableTask.SqlServer.AzureFunctions
namespace. Let me know if this unblocks your testing.
/// <summary>
/// Extension methods for the Microsoft SQL Durable Task storage provider.
/// </summary>
public static class SqlDurabilityProviderExtensions
{
/// <summary>
/// Adds Durable Task SQL storage provider services to the specified <see cref="IServiceCollection"/>.
/// </summary>
/// <param name="services">The <see cref="IServiceCollection"/> for adding services.</param>
public static void AddDurableTaskSqlProvider(this IServiceCollection services);
}
@cgillum hello, yeah it's perfect to me thanks. Now i m trying to figure why some test à failing randomly when using it with an error on connection using my localdb.
Hello, I would like to be able to run integration testing using sql as provider but as the SqlDurabiltyProviderFactory can't be added to service collection it's not possible.