proto-loader
proto-loader copied to clipboard
Ignores syntax declaration
It appears that this loader might ignore syntax declarations (unless I'm using it wrong?).
At the top of my foo.proto I have:
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";