{"action":"created","issue":{"url":"https://api.github.com/repos/lyft/protoc-gen-validate/issues/55","repository_url":"https://api.github.com/repos/lyft/protoc-gen-validate","labels_url":"https://api.github.com/repos/lyft/protoc-gen-validate/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/lyft/protoc-gen-validate/issues/55/comments","events_url":"https://api.github.com/repos/lyft/protoc-gen-validate/issues/55/events","html_url":"https://github.com/lyft/protoc-gen-validate/pull/55","id":293755116,"number":55,"title":"Fix patern rule in repeated field","user":{"login":"pragkent","id":7965243,"avatar_url":"https://avatars3.githubusercontent.com/u/7965243?v=4","gravatar_id":"","url":"https://api.github.com/users/pragkent","html_url":"https://github.com/pragkent","followers_url":"https://api.github.com/users/pragkent/followers","following_url":"https://api.github.com/users/pragkent/following{/other_user}","gists_url":"https://api.github.com/users/pragkent/gists{/gist_id}","starred_url":"https://api.github.com/users/pragkent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pragkent/subscriptions","organizations_url":"https://api.github.com/users/pragkent/orgs","repos_url":"https://api.github.com/users/pragkent/repos","events_url":"https://api.github.com/users/pragkent/events{/privacy}","received_events_url":"https://api.github.com/users/pragkent/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-02T02:44:44Z","updated_at":"2018-02-08T08:38:20Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/lyft/protoc-gen-validate/pulls/55","html_url":"https://github.com/lyft/protoc-gen-validate/pull/55","diff_url":"https://github.com/lyft/protoc-gen-validate/pull/55.diff","patch_url":"https://github.com/lyft/protoc-gen-validate/pull/55.patch"},"body":"Add pattern variable declaration when repeated.items contains\r\nstring rule with pattern.\r\n\r\nFor example, if I have a message declared as follow:\r\n```protoc\r\nmessage Person {\r\n  repeated string phone = 1 [(validate.rules).repeated.items.string.pattern = '^\\\\d+';\r\n}\r\n```\r\nThe generated go code does not contain the declaration of pattern variable `_Person_Phones_Pattern`."},"comment":{"url":"https://api.github.com/repos/lyft/protoc-gen-validate/issues/comments/364039944","html_url":"https://github.com/lyft/protoc-gen-validate/pull/55#issuecomment-364039944","issue_url":"https://api.github.com/repos/lyft/protoc-gen-validate/issues/55","id":364039944,"user":{"login":"pragkent","id":7965243,"avatar_url":"https://avatars3.githubusercontent.com/u/7965243?v=4","gravatar_id":"","url":"https://api.github.com/users/pragkent","html_url":"https://github.com/pragkent","followers_url":"https://api.github.com/users/pragkent/followers","following_url":"https://api.github.com/users/pragkent/following{/other_user}","gists_url":"https://api.github.com/users/pragkent/gists{/gist_id}","starred_url":"https://api.github.com/users/pragkent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pragkent/subscriptions","organizations_url":"https://api.github.com/users/pragkent/orgs","repos_url":"https://api.github.com/users/pragkent/repos","events_url":"https://api.github.com/users/pragkent/events{/privacy}","received_events_url":"https://api.github.com/users/pragkent/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T08:38:20Z","updated_at":"2018-02-08T08:38:20Z","author_association":"NONE","body":"Close this, will create a new one."}}
{"actor":{"display_login":"pragkent"}}