-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Deprecate funcs that repeate receiver in name #11287
Deprecate funcs that repeate receiver in name #11287
Conversation
2d216d1
to
e634db1
Compare
Signed-off-by: Bogdan Drutu <[email protected]>
e634db1
to
cf06b16
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #11287 +/- ##
==========================================
- Coverage 91.52% 91.45% -0.08%
==========================================
Files 424 424
Lines 20222 20238 +16
==========================================
Hits 18509 18509
- Misses 1329 1345 +16
Partials 384 384 ☔ View full report in Codecov by Sentry. |
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 we're reconsidering the names, I'm curious if Create
is meaningfully different than New
or if e.g. factory.NewLogs
would be more idiomatic.
That would mean I have to change connectors as well :(((... Happy to do it if others feel the same. |
So I would lean towards keeping |
Similar with #11287 Signed-off-by: Bogdan Drutu <[email protected]>
This change makes the names to be more "Go" friendly. Also it will not become an issue that types will try to implement different Factory types (receiver,processor) because that is forbidden because of our design. This also makes the names consistent with connector.Factory. Signed-off-by: Bogdan Drutu <[email protected]>
Similar with open-telemetry#11287 Signed-off-by: Bogdan Drutu <[email protected]>
This change makes the names to be more "Go" friendly. Also it will not become an issue that types will try to implement different Factory types (receiver,processor) because that is forbidden because of our design. This also makes the names consistent with connector.Factory.