open-feature / open-feature/go-sdk

Add Generics support

Open
#408 0 comments 0 reactions 0 assignees View on GitHub
needs discussion v2
Dominant language
Go
Stars
250
Forks
62
Avg merge
2d 3h
Merged PRs (30d)
25

Description

> Support for generics. This is pretty broad, but there are two parts to this: generics for internal use in the SDK, and generics exposed to provider authors and application authors. We will want to be careful about the approach we take in order to make the transition from v1 to v2 as seamless as possible.

We want to add generics support to the SDK. We need some consensus on exactly how much we want to expose to users. Potential places where we can use generics:

- [ ] Resolution details
- [ ] Evaluation details
- [ ] Hooks
...

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by mapping where the SDK handles resolution details, evaluation details, and hooks, then review how each could expose generics internally and to provider and application authors. Done requires consensus on scope and a v1-to-v2 migration approach.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.