Skip to content

Ignores syntax declaration #6

@escholtz

Description

@escholtz

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";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions