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
Description:
Handwritten parser for proto files in the config deployer has some limitations. It uses regex to match blocks surrounded by curly braces starting with the 'service' keyword to identify gRPC services and then the 'rpc' keyword to match gRPC methods. However, this may lead to issues in situations where nested curly braces exist. Furthermore, the basepath and version is also parsed from the package name of the proto file and an incorrectly formatted package name might cause issues.
An alternative method for parsing would to be modify the parser to take in proto files that are already compiled using the standard proto-compiler and then use the standard libraries to extract the relevant information.
The text was updated successfully, but these errors were encountered:
Description:
Handwritten parser for proto files in the config deployer has some limitations. It uses regex to match blocks surrounded by curly braces starting with the 'service' keyword to identify gRPC services and then the 'rpc' keyword to match gRPC methods. However, this may lead to issues in situations where nested curly braces exist. Furthermore, the basepath and version is also parsed from the package name of the proto file and an incorrectly formatted package name might cause issues.
An alternative method for parsing would to be modify the parser to take in proto files that are already compiled using the standard proto-compiler and then use the standard libraries to extract the relevant information.
The text was updated successfully, but these errors were encountered: