C
C#2w ago
A Ka Sup

Using MongoDB EFCore with HotChocolate

guys, im using mongoDB Efcore and HotChocolate to configure GraphQL Server, but when i install package HotChocolate.Data.MongoDb, follow the docs https://chillicream.com/docs/hotchocolate/v15/integrations/mongodb then it show me the error No service for type 'MongoDB.Driver.IMongoCollection what am i missing?
MongoDB - Hot Chocolate
Hot Chocolate is the most efficient, feature-rich, open-source GraphQL server in the .NET ecosystem, that helps developers to build powerful APIs.
2 Replies
Unknown User
Unknown User2w ago
Message Not Public
Sign In & Join Server To View
A Ka Sup
A Ka SupOP2w ago
yes, i'm using this package with database context, i didn't know about IMongoCollection

Did you find this page helpful?