-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[RFC] Functional Interface pattern for Collector extension APIs #13902
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
base: main
Are you sure you want to change the base?
Conversation
…tor into jmacd/functionalcomp
…tor into jmacd/functionalcomp
I've referred to my former attempt at this many times in the months since I first opened it, so here it is again. Following feedback from @evan-bradley I changed the name to "Functional Interface" pattern. Any name will do, really. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #13902 +/- ##
==========================================
+ Coverage 91.66% 91.68% +0.01%
==========================================
Files 652 652
Lines 42506 42506
==========================================
+ Hits 38964 38972 +8
+ Misses 2734 2728 -6
+ Partials 808 806 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
Replaces #13263
Documents the interface pattern used in core interfaces (e.g., component, consumer, extensions), which enables safe interface evolution as described in this RFC. This documents an existing pattern so that it can be applied more consistently across our code base.
Testing Documentation
This interface pattern has been checked and documented using examples from PR #13241.