File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
docs/sdk-reference/openfeature
versioned_docs/version-V1/sdk-reference/openfeature Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ the [ConfigCat Kotlin SDK](../../kotlin/#setting-up-the-configcat-client):
2929
3030``` kotlin
3131import com.configcat.*
32- import dev.openfeature.sdk.*
32+ import dev.openfeature.kotlin. sdk.*
3333
3434coroutineScope.launch(Dispatchers .IO ) {
3535 // Configure the provider.
@@ -81,7 +81,7 @@ val context = ImmutableContext(
8181 " Email" to
Value .
String (
" [email protected] " ),
8282 " Country" to Value .String (" CountryID" ),
8383 " Rating" to Value .Double (4.5 ),
84- " RegisteredAt" to Value .Date ( Date .from( Instant .parse(" 2023-11-22T12:34:56+00:00 " ) )),
84+ " RegisteredAt" to Value .Instant (kotlin.time. Instant .parse(" 2025-05-30T10:15:30.00Z " )),
8585 " Roles" to Value .List (listOf (Value .String (" Role1" ), Value .String (" Role2" )))
8686 ),
8787)
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ the [ConfigCat Kotlin SDK](../../kotlin/#setting-up-the-configcat-client):
2929
3030``` kotlin
3131import com.configcat.*
32- import dev.openfeature.sdk.*
32+ import dev.openfeature.kotlin. sdk.*
3333
3434coroutineScope.launch(Dispatchers .IO ) {
3535 // Configure the provider.
@@ -81,7 +81,7 @@ val context = ImmutableContext(
8181 " Email" to
Value .
String (
" [email protected] " ),
8282 " Country" to Value .String (" CountryID" ),
8383 " Rating" to Value .Double (4.5 ),
84- " RegisteredAt" to Value .Date ( Date .from( Instant .parse(" 2023-11-22T12:34:56+00:00 " ) )),
84+ " RegisteredAt" to Value .Instant (kotlin.time. Instant .parse(" 2025-05-30T10:15:30.00Z " )),
8585 " Roles" to Value .List (listOf (Value .String (" Role1" ), Value .String (" Role2" )))
8686 ),
8787)
You can’t perform that action at this time.
0 commit comments