Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Could not create collection if proto file contains google.protobuf.EnumValueOptions #53

Open
heggi opened this issue Oct 10, 2023 · 1 comment
Labels
bug Something isn't working investigate

Comments

@heggi
Copy link

heggi commented Oct 10, 2023

Describe the bug
Creating collection with proto file contains extend google.protobuf.EnumValueOptions throw error object must be a valid nested object

Minimal example file:

syntax = "proto3";

import "google/protobuf/descriptor.proto";

extend google.protobuf.EnumValueOptions {
  optional string name = 54321;
}

To Reproduce
Steps to reproduce the behavior:
Try create collection with minimal example file

Expected behavior
Successful created collection

Environment

  • OS: windows 10
  • ezy Version 1.0.0-beta.16

Additional context

@heggi heggi added the bug Something isn't working label Oct 10, 2023
@notmedia
Copy link
Contributor

Hello @heggi! Thank you for your bug report. It seems that the current bug is related to protobufjs/protobuf.js#1709 - please add reactions there.

Under the hood ezy uses protobufjs for parsing proto files and there is an issue with the same problem. I'll ping protobufjs maintainer to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working investigate
Projects
None yet
Development

No branches or pull requests

2 participants