open-feature/flagd

[CHORE] grpc_sync.go is hard to test

已關閉

#1,562 建立於 2025年2月14日

 (1 則留言) (2 個反應) (0 位負責人)Go (118 個分叉)github user discovery
help wanted

倉庫指標

星標
 (925 顆星)
PR 合併指標
 (平均合併 3天 9小時) (30 天內合併 8 個 PR)

描述

https://github.com/open-feature/flagd/blob/main/core/pkg/sync/grpc/grpc_sync.go makes calls to grpc (e.g. NewClient) and different parameters are set based on grpc.Sync configuration. Ideally, we would test whether than configuration affects the calls to grpc, for example by using mocks.

貢獻者指南