open-feature / open-feature/flagd
[FEATURE] Specify and clarify configuration parsing for flag configurations
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 998
- Forks
- 136
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 11
Description
Requirements
How we are parsing and handling flags is different from implementation to implementation. Simply based on the fact how we grew as a project and that a lot of implementations have been done by multiple contributors. Now it is the time to rethink our parsing and handling of the configurations, especially for in-process.
Goals
- utilize schema validation as much as possible, instead of custom logic, on a flag and not on a configuration level
- define which file formats are supported (relates too https://github.com/open-feature/flagd/issues/1689)
- define what can cause a PARSE_ERROR: currently only an invalid targeting rule can cause this error, other schema invalidation result in a FLAG_NOT_FOUND
- define this in a way that we can test this via our testbed/test-harness
issue relating to this
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked issues 1627, 1689, 1487, and 1679 to understand the existing parsing decisions and unresolved requirements. Use the testbed/test-harness to define expected behavior for schema validation, supported formats, and PARSE_ERROR versus FLAG_NOT_FOUND outcomes; the work is done when those rules are specified and testable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100