You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pbjson generates the Serialize/Deserialize impls, it will report the path to refer to Target as super::super::abstract::v1::Target. However, as abstract is a reserved keyword, this will fail to compile. The proper way to refer to this path is super::super::r#abstract::v1::Target. The prost generation correctly specifies this path.
The text was updated successfully, but these errors were encountered:
Consider the following scenario:
File:
test/package/v1/TestMessage.proto
File:
test/abstract/v1/Target.proto
When
pbjson
generates theSerialize
/Deserialize
impls, it will report the path to refer toTarget
assuper::super::abstract::v1::Target
. However, asabstract
is a reserved keyword, this will fail to compile. The proper way to refer to this path issuper::super::r#abstract::v1::Target
. Theprost
generation correctly specifies this path.The text was updated successfully, but these errors were encountered: