bugsnag / bugsnag-ruby

BugSnag error monitoring & reporting software for rails, sinatra, rack and ruby
https://docs.bugsnag.com/platforms/ruby
MIT License
246 stars 174 forks source link

Drop feature flags with invalid names #750

Closed imjoehaines closed 1 year ago

imjoehaines commented 1 year ago

Goal

As discussed in #745, we should not be sending feature flags that have invalid names to the Event API

This PR prevents feature flags from being added to the FeatureFlagDelegate using a new FeatureFlag#valid? method

A feature flag is valid only if: