-
-
Notifications
You must be signed in to change notification settings - Fork 799
Open
Open
Copy link
Labels
Area: DataIssue is related to filtering, sorting, pagination or projectionsIssue is related to filtering, sorting, pagination or projectionsArea: MongoDBIssue is related to the MongoDB integrationIssue is related to the MongoDB integration🌶️ hot chocolate
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
When using the MongoDB pagination provider by itself it works, since the provider is taken as the default.
If multiple providers are registered and the MongoDB provider is not the first pagination provider (default) it doesn't work since the CanHandle method returns false.
Steps to reproduce
Create a field, following the documentation
[UseMongoDbPaging]
public IExecutable<Person> GetPersons([Service] IMongoCollection<Person> collection)
{
return collection.AsExecutable();
}and CanHandle returns false.
Relevant log output
No response
Additional Context?
No response
Product
Hot Chocolate
Version
12.0.0-preview.34
Metadata
Metadata
Assignees
Labels
Area: DataIssue is related to filtering, sorting, pagination or projectionsIssue is related to filtering, sorting, pagination or projectionsArea: MongoDBIssue is related to the MongoDB integrationIssue is related to the MongoDB integration🌶️ hot chocolate