Skip to content

Stop passing type to Feature methods

Rémy Coutable requested to merge stop-passing-type-to-feature-methods into master

What does this MR do and why?

There's no need to pass the :type when calling Feature#enabled?/Feature#disabled? as the type is set in feature flag definition files and doesn't have any impact in these methods' behavior.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Rémy Coutable

Merge request reports