{"action":"closed","issue":{"url":"https://api.github.com/repos/dcodeIO/ProtoBuf.js/issues/270","labels_url":"https://api.github.com/repos/dcodeIO/ProtoBuf.js/issues/270/labels{/name}","comments_url":"https://api.github.com/repos/dcodeIO/ProtoBuf.js/issues/270/comments","events_url":"https://api.github.com/repos/dcodeIO/ProtoBuf.js/issues/270/events","html_url":"https://github.com/dcodeIO/ProtoBuf.js/issues/270","id":82283942,"number":270,"title":"Message field without \"optional\" inside \"extend\" block in proto3","user":{"login":"w4-sjcho","id":8187891,"avatar_url":"https://avatars.githubusercontent.com/u/8187891?v=3","gravatar_id":"","url":"https://api.github.com/users/w4-sjcho","html_url":"https://github.com/w4-sjcho","followers_url":"https://api.github.com/users/w4-sjcho/followers","following_url":"https://api.github.com/users/w4-sjcho/following{/other_user}","gists_url":"https://api.github.com/users/w4-sjcho/gists{/gist_id}","starred_url":"https://api.github.com/users/w4-sjcho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w4-sjcho/subscriptions","organizations_url":"https://api.github.com/users/w4-sjcho/orgs","repos_url":"https://api.github.com/users/w4-sjcho/repos","events_url":"https://api.github.com/users/w4-sjcho/events{/privacy}","received_events_url":"https://api.github.com/users/w4-sjcho/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dcodeIO/ProtoBuf.js/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dcodeIO/ProtoBuf.js/labels/resolved","name":"resolved","color":"02e10c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-29T06:13:08Z","updated_at":"2015-06-12T23:13:44Z","closed_at":"2015-06-12T23:13:44Z","body":"In order to parse:\r\nhttps://github.com/google/googleapis/blob/master/google/api/annotations.proto\r\n\r\nSeems like\r\n        // proto3 syntax style: optional fields without 'optional' keyword.\r\n        else if (Lang.TYPE.test(token) || Lang.TYPEREF.test(token))\r\n            this._parseMessageField(ext, \"optional\", token);\r\n\r\nMust be put near:\r\nhttps://github.com/dcodeIO/ProtoBuf.js/blob/master/src/ProtoBuf/DotProto/Parser.js#L765"}}