Closed NightBlaze closed 9 months ago
Hi @NightBlaze , thank you for your report :)
Right now, Rinf doesn't consider import
s being used in those files. I'll try to fix it and make a new version soon.
Thanks @temeddix! It will be very convenient for a domain modeling.
Sorry for being late, I was focusing on other issues inside Rinf.
Starting from Rinf 5.3, you will be able to use import statements in Protobuf files, like this:
// messages/fractal.proto
syntax = "proto3";
package fractal;
import 'counter_number.proto';
message StateSignal {
int32 id = 1;
double current_scale = 2;
counter_number.SampleSchema something = 3;
}
P.S. If you're coming from Rinf 4, you have to run rinf template
again.
Report
Can't use
import
in proto files.If I use
import "feed_view_model.proto";
syntax then got error:If I use
import "./feed_view_model.proto";
syntax then got error:Steps to Reproduce
Create two proto files and import one file into another.
System Information