Skip to content
New issue

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

[types] Support custom Query Method types #9850

Closed
hasezoey opened this issue Jan 23, 2021 · 0 comments
Closed

[types] Support custom Query Method types #9850

hasezoey opened this issue Jan 23, 2021 · 0 comments
Labels
typescript Types or Types-test related issue / Pull Request
Milestone

Comments

@hasezoey
Copy link
Collaborator

Do you want to request a feature or report a bug?
types

What is the current behavior?
not being able to specify custom query types

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
being able to specify custom query types

What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
nodejs: 14.15.4
mongoose: 5.11.11


in the old types, Query Methods could be defined with the QueryHelpers generic in Model

@vkarpov15 vkarpov15 added this to the 5.11.15 milestone Jan 28, 2021
@IslandRhythms IslandRhythms added the new feature This change adds new functionality, like a new method or class label Jan 28, 2021
@vkarpov15 vkarpov15 modified the milestones: 5.11.15, 5.11.16 Feb 3, 2021
@vkarpov15 vkarpov15 added typescript Types or Types-test related issue / Pull Request and removed new feature This change adds new functionality, like a new method or class labels Feb 3, 2021
@vkarpov15 vkarpov15 modified the milestones: 5.11.16, 5.11.17, 5.11.18 Feb 12, 2021
vkarpov15 added a commit to ggurkal/mongoose that referenced this issue Feb 22, 2021
@vkarpov15 vkarpov15 modified the milestones: 5.11.18, 5.11.19 Feb 23, 2021
vkarpov15 added a commit that referenced this issue Mar 2, 2021
vkarpov15 added a commit that referenced this issue Mar 3, 2021
vkarpov15 added a commit that referenced this issue Mar 3, 2021
vkarpov15 added a commit that referenced this issue Mar 3, 2021
vkarpov15 added a commit that referenced this issue Mar 3, 2021
Custom query method types for TypeScript
This was referenced Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typescript Types or Types-test related issue / Pull Request
Projects
None yet
Development

No branches or pull requests

3 participants