Replies: 1 comment
-
Hi, thanks for opening this discussion. We already have an existing feature request for this at #3754. Please feel free to continue the discussion there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Flags utility for TypeScript - Bringing feature management to Powertools! 🚀
Hey folks! 👋
I'm a huge fan of the Powertools project and have been exploring all three implementations (TypeScript, Python, and Java). The libraries are fantastic and I'd love to contribute! While diving into the different versions, I noticed something really cool that we're missing in TypeScript - the Feature Flags utility.
The Python implementation is pretty slick
The Python version has this awesome Feature Flags utility that provides a simple rule engine to evaluate when features should be enabled. It's super handy for:
What would this look like in TypeScript?
I'm imagining something like:
Why this would be awesome
Current workarounds
Right now, TypeScript users have to either:
Questions for the community
I did a quick comparison across all three Powertools implementations and found that TypeScript is missing several utilities that Python has (Feature Flags, Data Masking, Streaming, etc.). Feature Flags feels like it would have the biggest impact for most users.
Would love to hear thoughts from the maintainers too - is this something on the roadmap? I'm really keen to contribute and would be happy to help implement this if there's interest! 🙌
I've been learning a lot from the existing codebase and the patterns used in other utilities. The quality of the project is impressive and I think adding Feature Flags would make it even more complete.
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions