Open escholtz opened 8 years ago
It appears that this loader might ignore syntax declarations (unless I'm using it wrong?).
At the top of my foo.proto I have:
foo.proto
syntax = "proto3";
This gets ignored / dropped by proto-loader.
As a temporary work around, I'm using:
var schema = require('./foo.proto'); schema.syntax = "proto3";
It appears that this loader might ignore syntax declarations (unless I'm using it wrong?).
At the top of my
foo.proto
I have:This gets ignored / dropped by proto-loader.
As a temporary work around, I'm using: