protoflow-labs / protoflow

Language-agnostic workflow builder. Modular code that goes from dev to prod in a minute with principled design decisions.
Apache License 2.0
12 stars 0 forks source link

Invalid import when generating language service type #13

Open breadchris opened 11 months ago

breadchris commented 11 months ago

When generating a type for the language service, the following is added:

import "nodejs.proto";

This should not be added and leads to a problem when generating the protobuf type.

breadchris commented 11 months ago

This has something to do with the hacky way that we are "unbinding" the type from its original source https://github.com/protoflow-labs/protoflow/blob/main/pkg/generate/nodejs.go#L135