Skip to content

Commit

Permalink
Boolean mapping getter name in Kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez committed Oct 15, 2024
1 parent ef49586 commit 1e7134a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class KotlinMappingGetter {
.withDefaultValue("graph.get-tenant", "tenant")
.withDefaultValue("graph.get-client-id", "id")
.withDefaultValue("graph.get-client-secret", "secret")
.withDefaultValue("graph.get-a-boolean", "secret")
.build()

val mapping = config.getConfigMapping(GraphOption::class.java)
Expand All @@ -30,5 +31,6 @@ class KotlinMappingGetter {
val tenant: String
val clientId: String
val clientSecret: String
val aBoolean: Boolean
}
}

0 comments on commit 1e7134a

Please sign in to comment.