You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Please use this template for your pull request. -->
<!-- Please use the sections that you need and delete other sections -->
## This PR
<!-- add the description of the PR here -->
- adds the fetch all flags rpc for sync server, required for flagd to
resend state on merge events
### Related Issues
<!-- add here the GitHub issue that this PR resolves if applicable -->
### Notes
<!-- any additional notes for this PR -->
### Follow-up Tasks
<!-- anything that is related to this PR but not done here should be
noted under this section -->
<!-- if there is a need for a new issue, please link it here -->
### How to test
<!-- if applicable, add testing instructions under this section -->
Signed-off-by: James Milligan <james@omnant.co.uk>
Copy file name to clipboardExpand all lines: protobuf/sync/v1/sync_service.proto
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,17 @@ message SyncFlagsResponse {
46
46
SyncStatestate=2;
47
47
}
48
48
49
+
// FetchAllFlagsRequest is the request to fetch all flags. Flagd sends this request as the client in order to resync its internal state
50
+
messageFetchAllFlagsRequest {}
51
+
52
+
// FetchAllFlagsResponse is the server response containing feature flag configurations
53
+
messageFetchAllFlagsResponse {
54
+
// flagd feature flag configuration. Must be validated to schema - https://raw.githubusercontent.com/open-feature/schemas/main/json/flagd-definitions.json
55
+
stringflag_configuration=1;
56
+
}
57
+
49
58
// FlagService implements a server streaming to provide realtime flag configurations
0 commit comments