open-feature / open-feature/flagd

[FEATURE] Parse Array of `flags` Objects From All Sync Sources

Open
#1,673 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
997
Forks
136
Avg merge
4d 8h
Merged PRs (30d)
11

Description

[FEATURE] Parse Array of flags Objects From All Sync Sources

Background

flagd needs to support flags defined in an array, as well as the previous map format.

Requirements

  • Flags must be parsed, and stored in memory, annotated with both their flagSetId (nil is a possible flagSetId) as well as their source
  • Refactors to the underlying storage layers are encouraged (this was mostly done with (https://github.com/open-feature/flagd/pull/1697).
  • Particular care should be taken to make retreival of sets of flags based on their flag set efficient and easy
  • Associated tests

See parent issue for more background.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with parent issue #1671 and the storage-layer refactor in pull request #1697, then inspect how each sync source parses and stores flags. Focus on efficient flag-set retrieval and add the associated tests; done means array-form flags work across all sync sources with flagSetId and source annotations preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.