Skip to content

Doesn't work without entity framework #261

Closed
@bugproof

Description

@bugproof

No enity framework example itself has dependency on ef

https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/Examples/NoEntityFrameworkExample/NoEntityFrameworkExample.csproj

I did everything and without passing DbContext, it won't work.

Unable to resolve service for type 'JsonApiDotNetCore.Data.IDbContextResolver' while attempting to activate 'JsonApiDotNetCore.Data.DefaultEntityRepository`...

It seems like DbContext is required no matter if I use it

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions