SpringdocRouteBuilder redundant parameter
See original GitHub issueDuring nesting, there is a redunant operation builder consumer, which I always leave empty. Does that have any purpose in mind?
SpringdocRouteBuilder.route()
.nest(
RequestPredicates.path("/users").and(RequestPredicates.accept(APPLICATION_JSON)),
Supplier {
SpringdocRouteBuilder.route()
.GET("", userHandler::getById, Consumer { it.beanClass(UserService::class.java).beanMethod("getById") })
...
.build()
},
{} // what's the point of that?
).build()
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Redundant parameter in Spring controller method?
I have createForm, which is displayed to user. As you can presume it is empty form and the user has to fill it...
Read more >IntelliJ IDEA 2022.3 EAP 1 (223.4884.65 build) Release Notes
SpringdocRouteBuilder.route ... Feature, IDEA-224760, Add quick fix: remove redundant arguments to call constructor. Feature, IDEA-220239, Enable Reuse ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Nothing prevents you from submitting a PR, if you estimate it will be more handy from developer perspective.
@Sam-Kruglov,
This should work out of the box. If it’s not the case, there is an issue there…