Skip to content

Add dedicated annotations for manually declared count and delete queries [DATAMONGO-1539] #2451

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

Closed
spring-projects-issues opened this issue Nov 24, 2016 · 1 comment
Assignees
Labels
in: repository Repositories abstraction type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link

Fırat KÜÇÜK opened DATAMONGO-1539 and commented

@Count and @Delete annotations can be useful as an alias of the @Query annotation. It seems like @PostMapping, @GetMapping etc. annotations are aliases of the @RequestMapping annotation


Referenced from: pull request #416, and commits b01a34b, 9ff86fe, 8c838e8, 5650e35

Backported to: 1.10 RC1 (Ingalls)

@spring-projects-issues
Copy link
Author

Oliver Drotbohm commented

I've renamed the annotations to @CountQuery and @DeleteQuery respectively. Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: repository Repositories abstraction type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants