Closed toddbaert closed 1 week ago
Fixes an issue where invalid flag payloads were returned on sync requests with scopes if the flag set was empty.
Below is an example of the bug.
$ grpcurl -import-path /home/todd/temp -proto sync.proto -plaintext localhost:8015 flagd.sync.v1.FlagSyncService/FetchAllFlags { "flagConfiguration": "{\"flags\":{}}" } $ grpcurl -import-path /home/todd/temp -proto sync.proto -plaintext -d '{"selector":"../config/samples/example_flags.flagd.json"}' localhost:8015 flagd.sync.v1.FlagSyncService/FetchAllFlags {}
Fixes an issue where invalid flag payloads were returned on sync requests with scopes if the flag set was empty.
Below is an example of the bug.