Make Kotlin DSL class constructors internal
Closes gh-24059
This commit is contained in:
@@ -58,7 +58,7 @@ fun router(routes: (RouterFunctionDsl.() -> Unit)) = RouterFunctionDsl(routes).b
|
||||
* @author Sebastien Deleuze
|
||||
* @since 5.2
|
||||
*/
|
||||
class RouterFunctionDsl(private val init: (RouterFunctionDsl.() -> Unit)) {
|
||||
class RouterFunctionDsl internal constructor (private val init: (RouterFunctionDsl.() -> Unit)) {
|
||||
|
||||
@PublishedApi
|
||||
internal val builder = RouterFunctions.route()
|
||||
|
||||
Reference in New Issue
Block a user