spring-projects / spring-security

Spring Security
http://spring.io/projects/spring-security
Apache License 2.0
8.45k stars 5.76k forks source link

Minor Documentation update on import needed for using Kotlin DSL #14969

Closed madorb closed 2 weeks ago

madorb commented 3 weeks ago

Updates the documentation to provide a bit more explicit instruction on how to enable the Kotlin DSL. I found the existing reference to

import the invoke function

a bit less obvious then I would have thought, and despite being reasonably knowledgable, having done this thing before in the past, and having the code sample, it took me a few minutes to figure out exactly what it was referring to.

jzheaux commented 3 weeks ago

Thanks, @madorb! WIll you please do me the favor of formatting your commit like so?

An example might be something like:

Clarify Package Import

Provide more explict instructions regarding the necessary import 
to make the Kotlin DSL work. For some reason it took me 10 minutes 
to figure this out based on the existing doc.
madorb commented 3 weeks ago

@jzheaux done!

marcusdacoregio commented 2 weeks ago

Thanks, @madorb. This is now merged into main