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.

贡献者指南