Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-69212

Allow multiple feature-flag checks within a single operation

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication

      When developing new features using the feature flag system, the code that needs to be guarded behind the feature flag may be spread out over different components making it difficult to re-use a single feature flag call.

      In practice to work around this, you would create a decoration on the OperationContext to be able to re-use the one allowed feature-flag check.

      We would simplify the usage of feature flags if multiple feature-flags checks would be allowed and consistent. This can be implemented for example by automatically storing a copy of the feature flag state in the OperationContext.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: