Modify the AppResponse struct to have the store name (#183)
* Need to change the AppResponse struct to have the store name and state requests separately to support multiple state stores support in Dapr. This is needed to support this requirement : dapr/dapr#636 * Putting the state in a separate struct * Reverting the last commit - and keeping the things simple, just adding the storeName in the struct
This commit is contained in:
parent
49553859a0
commit
e7639f90c9
|
|
@ -19,6 +19,7 @@ type ReadResponse struct {
|
||||||
type AppResponse struct {
|
type AppResponse struct {
|
||||||
Data interface{} `json:"data"`
|
Data interface{} `json:"data"`
|
||||||
To []string `json:"to"`
|
To []string `json:"to"`
|
||||||
|
StoreName string `json:"storeName"`
|
||||||
State []state.SetRequest `json:"state"`
|
State []state.SetRequest `json:"state"`
|
||||||
Concurrency string `json:"concurrency"`
|
Concurrency string `json:"concurrency"`
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue