-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
chore(features) Expand documentation for sentry.features #74943
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Expand the documentation for features.handler and features.manager.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #74943 +/- ##
==========================================
+ Coverage 70.65% 78.14% +7.48%
==========================================
Files 6742 6752 +10
Lines 300897 301371 +474
Branches 51757 51843 +86
==========================================
+ Hits 212609 235495 +22886
+ Misses 81442 59536 -21906
+ Partials 6846 6340 -506
|
cmanallen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay documentation!
| """ | ||
| Base class for defining custom logic for feature decisions. | ||
| Subclasses should implement `has` and contain the logic | ||
| necessary for the feature check. | ||
| """ | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is the root it may be helpful to enumerate common use-cases, any recommended do's and don'ts, file locations to place flags, instructions for (or links to instructions for) enabling flags in relay and other services, etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added a bit more context, and can go through the getsentry code and expand documentation there as well.
Expand the documentation for features.handler and features.manager.