Closed
Description
Can the model be shared with the EF Core
entity?
When trying, getting Partial declarations of 'UsersController' must not specify different base classes
, but it's unclear if that's the issue.
Using the latest nuget package with EF Core 7
and .NET 7
, the documentation steps don't seem to match, so it be great if it could be reviewed and updated.
For example https://www.jsonapi.net/usage/resource-graph.html suggests using this:
builder.Services.AddJsonApi<AppDbContext>(discovery => discovery.AddCurrentAssembly());
However, .AddCurrentAssembly()
doesn't seem to exist.