12 ms·
> I ask because from what I understand from Google's monorepo, it should be easy for engineers to take direct dependencies on whatever they want. Not correct.
by galkk 6y ago
> I ask because from what I understand from Google's monorepo, it should be easy for engineers to take direct dependencies on whatever they want.
Not correct. The dependency system supports visibility restrictions - you can take direct dependencies to anything only if you're in your own experimental tree. Otherwise package authors can control access.
You can see that even in the Bazel: https://docs.bazel.build/versions/master/visibility.html https://docs.bazel.build/versions/master/visibility.html
(google employee)