-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
when I try parsing a proto file it gives the following error
message: "Expected \"'\", \".\", \"/*\", \"//\", \"0\", \"\\\"\", \"false\", \"inf\", \"nan\", \"true\", [ \\r\\n\\t], [0-9], [1-9], [A-Za-z], or [\\-+] but \"{\" found."
after debugging the code, the issue was from this line
service myService {
rpc myServiceActivities (myServiceActivitiesRequest) returns (myServiceActivitiesResponse) {
option (api) = ALPHA;
option (api) = { // this brace cased the error
get: "/api"
};
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels