Hi @Rasmus Dencker I am not a Bazel expert, but, if you tell me what you're trying to do, I can probably give you some pointers from a Cerbos point of view
05/27/2022, 11:39 AM
Cool! This is pretty bazel specific, though.. I've met this before, but I don't remember the solution 😅
compilepkg: missing strict dependencies:
[redacted path]/external/com_github_cerbos_cerbos/internal/namer/namer.go: import of "<http://github.com/cerbos/cerbos/api/genpb/cerbos/policy/v1|github.com/cerbos/cerbos/api/genpb/cerbos/policy/v1>"
No dependencies were provided.
05/27/2022, 11:41 AM
Oh, are you compiling the Cerbos source with Bazel?
05/27/2022, 11:43 AM
Nope, I'm compiling something which uses the Cerbos client 😄 💯
aaaand I'm using gazelle for the deps
05/27/2022, 11:48 AM
OK, I am completely out of my depth here because I haven't used Bazel in years 😄 Presumably, you have already used
to import external deps from
05/27/2022, 11:51 AM
Yup, I do! But there's something around deps of deps in certain situations, I don't totally grasp it yet 😄
Thanks for the effort tho 😄
05/27/2022, 11:54 AM
Yeah, it's pretty mind bending. Sorry I can't be of much help here. If you find the solution, please post here so that others can benefit from your wisdom too.