ProtoBuf.jl icon indicating copy to clipboard operation
ProtoBuf.jl copied to clipboard

It would be nice if the generated code had no `import` statements (in favor of `using`.

Open kuszmaul opened this issue 4 months ago • 0 comments

It would be nice if the resulting code used using rather than import.

So instead of generating

import ProtoBuf as PB

generate

using ProtoBuf: ProtoBuf as PB

One problem with import is that it's easy to accidentally overwrite a packages symbol without realizing you did it. For example to extend a function with a new method.

kuszmaul avatar Jun 23 '25 15:06 kuszmaul