Questions tagged [featuretoggle]

A Feature Toggle is a method for turning off a feature a programmer is working on, therefore avoiding the need for a feature branch. It is also called a feature bit, flag, flipper or switch.

A Feature Toggle is a method for turning off a feature a programmer is working on, therefore avoiding the need for a feature branch. It is also called a feature bit, flag, flipper or switch.

Martin Fowler wrote a classic blog post on it: http://martinfowler.com/bliki/FeatureToggle.html

74 questions
5
votes
2 answers

How can I implement feature toggle in Java from scratch?

I have a requirement to implement feature toggling in my current project. I have no idea how to implement it from scratch in Java. I have read the theory behind the feature toggling at various articles related to this topic but I haven't yet seen…
CodeHunter
  • 2,017
  • 2
  • 21
  • 47
5
votes
1 answer

@Autowired Spring @Component with @ConditionalOnProperty

Can I use @Autowired Spring 4.x @Components with a @ConditionalOnProperty to choose implementations of a Feature based on a featuretoggles.properties file? public class Controller { @Autowired private Feature…
Florian
  • 4,821
  • 2
  • 19
  • 44
5
votes
1 answer

How should feature toggles be set in tests run in continuous integration?

How does one go about testing when using feature toggles? You want your development computer to be as close to production as possible. From videos I watched, feature toggles are implemented in a way to allow certain people to "use" the feature…
Justin
  • 248
  • 4
  • 11
4
votes
1 answer

How to Enable Feature Toggle in .Net Core Using Feature Toggle Nuget Package?

Below are the changes which I did it in my application. Added FeatureToggle package in the code. And Created New Printing Class(Sample class only for) Extending SimpleFeatureToggle. using FeatureToggle; namespace AspDotNetCoreExample.Models { …
user3278612
  • 201
  • 2
  • 11
3
votes
1 answer

Implementing Feature Toggles in Perl5

i'd like to be able to create "ghost" packages and subs. I have a configuration (ini) file with entries like this: [features] sys.ext.latex = off gui.super.duper.elastic = off user.login.rsa = on This file is parsed, and later developers can ask…
Robert
  • 4,324
  • 2
  • 18
  • 22
3
votes
3 answers

Proper management of application settings when using VSTS and Azure

There are two different ways how to manage the application settings if you use VSTS and Azure. Please keep in mind this is only an example of tools used for continuous deployment. You can override JSON files(Web config in older systems) in the CD…
GoldenAge
  • 2,918
  • 5
  • 25
  • 63
3
votes
1 answer

Adding a global setting (feature toggle) to Wordpress

I have a Wordpress site that uses a bespoke theme. I'd like to add a feature toggle (checkbox setting) somewhere in the admin that can be read by the various theme pages to change their behavior. What's the best way to implement this? If you could…
Richard Szalay
  • 83,269
  • 19
  • 178
  • 237
2
votes
1 answer

Implement Launchdarkly with function in react without wrapping in Component

Currently I am following the guidelines provided by launchdarkly and as per documentation I used: import { asyncWithLDProvider } from 'launchdarkly-react-client-sdk'; (async () => { const LDProvider = await asyncWithLDProvider({ clientSideID:…
2
votes
0 answers

FeatureToggle React Jest - TypeError: Cannot read property 'state' of undefined

I've got a component that uses featuretoggle-react to render some stuff. For example: import { On, FeatureToggle } from "featuretoggle-react"; const MyComponent = () => { return (
Adam
  • 2,384
  • 7
  • 29
  • 66
2
votes
2 answers

Add "Togglz" feature toggle library to Spring Boot REST API

I'm trying to use the Togglz library which allows you to wrap your application logic and be able to toggle it ON or OFF, with some advanced strategies. I am going through the Spring Boot documentation for it, and although its quite concise, I'm…
ennth
  • 1,698
  • 5
  • 31
  • 63
2
votes
2 answers

Feature toggles in VueJS

I'd like to add some "feature toggling mechanism" to my Vue application. While I have implemented a rather basic setup, I'd like to consider the techniques described in this article by Pete Hodgson. Especially the aspect "Inversion of Decision"…
Robert Strauch
  • 12,055
  • 24
  • 120
  • 192
2
votes
1 answer

Feature branching with feature toggling when trying to do continuous delivery

I'm trying to understand why some teams use feature toggling if they are already using feature branching and trying to achieve continuous delivery. Let's say a team wants to achieve continuous delivery and can do that with help from either feature…
Mikkel
  • 1,771
  • 11
  • 35
  • 59
2
votes
1 answer

Feature-Toggle with GWTP

As you may know, Feature-Toggle is a method to deploy features that are not fully ready, and turn them on by using some configuration. Features can be turned on for specific customers (A/B testing for example) or gradually for all customers when…
Ben Bracha
  • 1,377
  • 2
  • 15
  • 28
1
vote
1 answer

Growthbook immediate update on mobile app

I use Growthbook to maintain my feature toggle and some other remotely configured values on my Flutter app. I successfully connect the app by using the provided SDK and connection keys. I created some "features" on the Growthbook UI, and tested out…
Naufal Rajabi
  • 334
  • 4
  • 13
1
vote
0 answers

When using the Angular APP_Initializer to initialize a service, how can I use a value from another service inside the service being initialised?

I am integrating a feature toggle service called launch darkly into my Angular application. I followed the guidance here: https://launchdarkly.com/blog/integrating-feature-flags-in-angular-v4/ However I noticed that on occasion my application would…
tripack91
  • 31
  • 5