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•2w ago
Message Not Public
Sign In & Join Server To View
yes, i'm using this package with database context, i didn't know about IMongoCollection