mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
docs: Update description of currentTime
in the Unleash context.
This commit is contained in:
parent
2f6b067eb5
commit
419dda09a0
@ -18,14 +18,15 @@ _All fields are optional_, but some strategies depend on certain fields being pr
|
||||
The below table gives a brief overview over what the fields' intended usage is, their lifetime, and their type. Note that the exact type can vary between programming languages and implementations. Be sure to consult your specific client SDK for more information on its implementation of the Unleash Context.
|
||||
|
||||
| field name | type | lifetime | description |
|
||||
|-------------------|-----------------------|---------------------|--------------------------------------------------------------------------------------------|
|
||||
|-------------------|-----------------------|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `appName` | `string` | static | the name of the application |
|
||||
| `environment`[^1] | `string` | static | the environment the app is running in |
|
||||
| `userId` | `string` | dynamic | an identifier for the current user |
|
||||
| `sessionId` | `string` | dynamic | an identifier for the current session |
|
||||
| `remoteAddress` | `string` | dynamic | an identifier for the current session |
|
||||
| `properties` | `Map<string, string>` | dynamic | a key-value store of any data you want |
|
||||
| `currentTime`[^2] | `DateTime`/`string` | special / read-only | A `DateTime` (or similar) data class instance or a string in an RFC3339-compatible format. |
|
||||
| `currentTime`[^2] | `DateTime`/`string` | dynamic | A `DateTime` (or similar) data class instance or a string in an RFC3339-compatible format. **Defaults to the current time** if not set by the user. |
|
||||
| | | | |
|
||||
|
||||
|
||||
### The `properties` field
|
||||
|
Loading…
Reference in New Issue
Block a user