-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: add support for parsing, inspecting and autocompleting in a sort stage written using Spring Data MongoDB INTELLIJ-174 #123
Conversation
Following overloads are included: 1. .sort(Sort criteria) 2. .sort(Direction direction, String... fields)
Coverage Report
|
🤖 Benchmark Comparison for
|
🤖 Benchmark Comparison for
|
🤖 Benchmark Comparison for
|
@@ -319,10 +320,10 @@ fun Node<PsiElement>.stageN( | |||
if (name != null) { | |||
val stageName = stage!!.component<Named>() | |||
assertNotEquals(null, stageName) { | |||
"Expected a stage with name $name but null found." | |||
"Expected a stage with name $name but null found at index $n." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What an amazing work, great job!
Description
This PR adds support for parsing a sort stage and the commonly used variants / chains / overloads to define a sort stage and sort criteria. To check the list of supported variants please take a look at the covered test cases here.
Checklist
Open Questions