Draft: Initial adapter concept
I'm just opening this so we can begin to track it and maybe talk about it.
I've had this idea for a while now, and feel like maybe it's time. We can create the generic adapters in the gem as an example, and then either override them or see how they work into the gitlab.com, and customers.gitlab.com projects.
The Unleash
adapter might just slot in for https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/3861, which would then let us simplify that MR. The Flipper
adapter is pretty much the same as the Feature
adapter in gitlab (implemented as part of the main ApplicationExperiment
), but for performance we could utilize more of what it's #enabled?
.
This is also the approach we might want to consider in transitioning from Feature
, to "operational feature flags", or prototyping an GrowthBook or Amplitude integration.