Hello all! I’ve done a quick search on <docs.pact....
# general
a
Hello all! I’ve done a quick search on docs.pact.io and on here and couldn’t find anything relevant. I know there were conversations in the past around supporting feature flags. What are the current recommendations?
y
Hey hey @David Van Couvering (DVC) - eBay wrote a little first pass at a guide on it earlier in the year https://docs.pact.io/getting_started/feature_toggles We still have some open questions but thought we would get it out there
Would love to get some feedback from the field from users both still on tags, or those who have moved to branches and/or environments
a
I was searching for flags and didn’t think about searching for toggles!
💡 2
y
Fancy a PR? so we can get feature flags on the page for indexing?
also
npx -y pactman
will let you search from your terminal and print out links to pages (if we've got the right search words in there) If you are extra lazy like me!
Also I wonder if rather than being theoritcal it would be good to show/lead by example. We could built out a set of scenarioes based say on the existing pact product api scenario which is across multiple languages. A flapplication (feature flag application) and actually show it in practise. We have a couple of scenarioes that show the introduction of a visibility field to hide products, could we show that being used to control the client passing the param in the req and expecting that additional data in the resp (if the client side feature flag is on) Would we need scenarioes to cover how the feature flags are retrieved in the consumer or backend application (hard coded, dynamic at startup, dynamic as read by some external config/feature provider)
d
Wow, I forgot about that doc. 🙂 It's currently under the "getting started" section which doesn't seem right. This seems like a pretty advanced topic. And yes, "feature flag" is probably a better term, sorry about that.