- Method Name:
saveBulkState
- Input Type:
SaveStateRequest
- Input Name:
request
- Output Type:
void
- Since:
1.0
Name |
Type |
Required |
Default Value |
Description |
storeName |
string |
Y |
|
The state store name for the operation. |
states |
array of state |
N |
null |
Whether a value must be provided for the parameter. |
Case |
Error Message |
Expected result |
Error invoking Dapr sidecar |
Error saving to state store {storeName} |
Returns error without result object |
Error deserializing one state |
Error deserializing state |
No error and state object contains key , error but no value |
If domain object is serialized as JSON, it cannot be wrapped into a string in the value
attribute of the state and must be set as RAW JSON object.
None.
Name |
Type |
Required |
Default Value |
Description |
key |
string |
Y |
|
The state's primary key. |
value |
object |
N |
null |
The state's value as a deserialized object. |
etag |
string |
N |
null |
The state's etag value generated by the state store, null for a new state. |
metadata |
Map of string to string |
N |
null |
Metadata for state operations. |
error |
string |
N |
null |
Error message when retrieving state. |
stateOptions |
StateOptions |
N |
null |
Options when perfoming operation with this state. |