Skip to content
Snippets Groups Projects

Stop passing type to Feature methods

Merged 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading