-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: new built.WithOrchestrion
constant
#387
Conversation
Expose a `built.WithOrchestrion` constant so that usages where it is possible to take a direct dependency on `github.com/DataDog/orchestrion` is possible are simpler; as a readily available variable is provided. This reduces the amount of places where the `//dd:orchestrion-enabled` directive is necessary, which may improve compilation speeds (as directive join points may be dispandious to evaluate).
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.
How about putting the built
package inside another package named like api
or runtime
or lib
so we can regroup packages that can be called by orchestrion deps ?
internal/injector/builtin/yaml/directive/orchestrion-enabled.yml
Outdated
Show resolved
Hide resolved
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.
Looks (almost) Good To Me 👍
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #387 +/- ##
==========================================
+ Coverage 60.81% 60.85% +0.04%
==========================================
Files 174 174
Lines 12302 12341 +39
==========================================
+ Hits 7481 7510 +29
- Misses 4340 4350 +10
Partials 481 481
|
Expose a
built.WithOrchestrion
constant so that usages where it is possible to take a direct dependency ongithub.aaakk.us.kg/DataDog/orchestrion
is possible are simpler; as a readily available variable is provided.This reduces the amount of places where the
//dd:orchestrion-enabled
directive is necessary, which may improve compilation speeds (as directive join points may be dispandious to evaluate).