-
Notifications
You must be signed in to change notification settings - Fork 6k
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
HttpSecurityDsl should support apply method #11754
Comments
@hanrw thanks for the suggestion!
I'm not 100% sure but it seems like it will take different method parameters so it shouldn't conflict, right? I think this would be a nice addition, so we don't need to mix a Java and Kotlin approach when using the DSL. Would you like to submit a PR? |
Is 'apply' onsidered a keyword here? |
Any suggestion? |
Hi @hanrw!
I think that looks like a good start. Just a heads up that if you do submit a PR, we may take a pause on merging it as most new enhancements that will make it into the next release are already scheduled.
I don't believe so, @rishiraj88. I tried something like what @hanrw provided above and it compiles fine as far as I can tell. It would just be an overloaded version of the |
- Polish javadoc in Kotlin DSL
- add extra configuration for configurer
Expected Behavior
Current Behavior
The apply keyword will conflict with Kotlin fun
The text was updated successfully, but these errors were encountered: