Skip to content

Ignore google/protobuf/descriptors.proto #9

@juliostanley

Description

@juliostanley

Not familiar enough with the custom options, but I have a file that I am trying to load. It contains:

Import "google/protobuf/descriptor.proto"

These and extends are ignored by protobufjs, but not by this loader.

See
HTTPS://github.com/dcodeIO/protobuf.js/blob/master/cli/pbjs.js#L153

HTTPS://github.com/dcodeIO/protobuf.js/blob/master/dist/protobuf-light.js#L3674

The loader fails to compile as it tries to resolve the import, maybe it can control the parser further? Haven't looked enough into it.

The issue regarding descriptiors at protobufjs was
HTTPS://github.com/dcodeIO/protobuf.js/issues/118

Thoughts?

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