easyp-tech / easyp

Apache License 2.0
77 stars 3 forks source link

[BUG] Nested enums in messages are not checked #81

Closed esqp closed 3 months ago

esqp commented 3 months ago

Enums are checked only for those located at the root of the proto file, nested enums in messages are not checked

Example:

// checked
enum TYPE {
    TYPE_UNSPECIFIED = 0;
}

message Example {
  string test =1;

// not checked
  enum TYPE {
    TYPE_UNSPECIFIED = 0;
   }
}
hound672 commented 3 months ago

Close? Since PR was merged