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:
Shalabh Mohan Shrivastava 2020-01-09 15:52:45 -08:00 committed by GitHub
parent 49553859a0
commit e7639f90c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ type ReadResponse struct {
type AppResponse struct {
Data interface{} `json:"data"`
To []string `json:"to"`
StoreName string `json:"storeName"`
State []state.SetRequest `json:"state"`
Concurrency string `json:"concurrency"`
}