You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observed:
System.InvalidOperationException: '***.BudgetContext' must contain a constructor that has a single parameter of type 'Microsoft.EntityFrameworkCore.DbContextOptions'
Expected:
I want my DbContext to take in the generic options overload.
The text was updated successfully, but these errors were encountered:
@Keboo Are you on the latest CI build? 0.1.1-ci-9642
I think this will be fixed in 0.1.1 (once it releases). Support for non-generic DbContextOptions was dropped. The above behavior was what was intended.
Reproduction steps:
Create context with a single constructor that takes in the generic DbContextOptions
Attempt to use the DatabaseFixture.
Observed:
System.InvalidOperationException: '***.BudgetContext' must contain a constructor that has a single parameter of type 'Microsoft.EntityFrameworkCore.DbContextOptions'
Expected:
I want my DbContext to take in the generic options overload.
The text was updated successfully, but these errors were encountered: