We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example, using the code below doesn't work
MongoPaging.find(this.collection, { query, next, limit, paginatedField, fields: { _id: 1, userName: 1, avatar: 1, cover: 1, biography: 1, role: 1, likesCount: 1 }, })
I was able to workaround this issue by adding:
MongoPaging.find(this.collection, { query, next, limit, paginatedField, fields: { projection: { _id: 1, userName: 1, avatar: 1, cover: 1, biography: 1, role: 1, likesCount: 1 } }, })
This should be fixed by changing on line 43 of the find.js to:
const query = collection[findMethod]({ $and: [cursorQuery, params.query] }, { projection: params.fields });
The text was updated successfully, but these errors were encountered:
Can you demonstrate this bug as a unit test in this codebase and submit a PR? I'm unclear.
Sorry, something went wrong.
No branches or pull requests
For example, using the code below doesn't work
MongoPaging.find(this.collection, { query, next, limit, paginatedField, fields: { _id: 1, userName: 1, avatar: 1, cover: 1, biography: 1, role: 1, likesCount: 1 }, })
I was able to workaround this issue by adding:
MongoPaging.find(this.collection, { query, next, limit, paginatedField, fields: { projection: { _id: 1, userName: 1, avatar: 1, cover: 1, biography: 1, role: 1, likesCount: 1 } }, })
This should be fixed by changing on line 43 of the find.js to:
const query = collection[findMethod]({ $and: [cursorQuery, params.query] }, { projection: params.fields });
The text was updated successfully, but these errors were encountered: