You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since those proto files may be used to generate code for multiple languages, it doesn't feel like it would make much sense for the proto file to be inside the xxx_crate.
However when it's outside, the crate naturally can't build.
I'd like to get this to work without altering my file architecture somehow.
However I wouldn't like to trade that off for a full workspace recompilation every time a file changes in the workspace (since the workspace is big, it's very good that it only recompiles granularly, so I don't think #17 should be applied as suggested).
Having an override mechanism that would enable me to get the original path of the crate to fetch any parent proto and add them to the source would be enough for me.
However it seems that currently the Cargo.nix does not export any path information, so I'm not sure how to achieve that.
Any idea?
Thanks
The text was updated successfully, but these errors were encountered:
Linked to #17
I have a file architecture such that crates that build references
.proto
files that are not in the crate folder:Since those proto files may be used to generate code for multiple languages, it doesn't feel like it would make much sense for the proto file to be inside the xxx_crate.
However when it's outside, the crate naturally can't build.
I'd like to get this to work without altering my file architecture somehow.
However I wouldn't like to trade that off for a full workspace recompilation every time a file changes in the workspace (since the workspace is big, it's very good that it only recompiles granularly, so I don't think #17 should be applied as suggested).
Having an override mechanism that would enable me to get the original path of the crate to fetch any parent proto and add them to the source would be enough for me.
However it seems that currently the
Cargo.nix
does not export any path information, so I'm not sure how to achieve that.Any idea?
Thanks
The text was updated successfully, but these errors were encountered: