is there any documentation on how Pants treats dep...
# development
f
is there any documentation on how Pants treats dependency inference (
InferDependenciesRequest
) and dependency injection (
InjectDependenciesRequest
)? especially around which one is applied first?
h
Yeah only difference is that "inference" looks at source files, whereas injection is based on other things
c
Why the distinction?
h
The
Request
types are different.
InjectDependenciesRequest
has
Dependencies
.
InferDependenciesRequest
has
sources_field
👍 1