Christian Stewart
Christian Stewart
I've posted a full example of what I'm trying to accomplish with the import remaps (leveraging the Go vendor/ tree) under https://github.com/stephenh/ts-poet/issues/30 I don't think it's exactly the same issue...
@stephenh The goal of that code is to leverage the Go vendoring system, which will automatically materialize any imports - i.e. "github.com/aperturerobotics/protobuf-project/example" - into the vendor/ tree with dependency version...
@pcj I've rebased your commits on "main" @stephenh LGTM! :)
@stephenh How would that work if two protobuf files have the same package name but are from different locations in the tree? I guess at least for my situation, updating...
Still an issue now in 2022 :)
Yes, we added that flag for this reason.
@crisog check the example here: https://github.com/aperturerobotics/starpc/blob/ffdea3a0b224b3527e9e9d2193cba55c783112b1/Makefile#L106 Does it work? I'll try to double check this evening
I also need this option, particularly because I import files from vendor/ and want to map the vendor/ path to the repo root.
Hey @luhuaei I'll try to have a look at this soon. Big patch, lots to review
It's the final packet in the join sequence. You can use this to create a "lightweight server" by sending the "set player position" packet just after the auth sequence. See...