{"action":"created","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel-blog/issues/56","repository_url":"https://api.github.com/repos/bazelbuild/bazel-blog","labels_url":"https://api.github.com/repos/bazelbuild/bazel-blog/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel-blog/issues/56/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel-blog/issues/56/events","html_url":"https://github.com/bazelbuild/bazel-blog/issues/56","id":294363673,"number":56,"title":"broken recommendation re: well known protos in 2017/02/27/protocol-buffers.html","user":{"login":"erickj","id":39651,"avatar_url":"https://avatars1.githubusercontent.com/u/39651?v=4","gravatar_id":"","url":"https://api.github.com/users/erickj","html_url":"https://github.com/erickj","followers_url":"https://api.github.com/users/erickj/followers","following_url":"https://api.github.com/users/erickj/following{/other_user}","gists_url":"https://api.github.com/users/erickj/gists{/gist_id}","starred_url":"https://api.github.com/users/erickj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erickj/subscriptions","organizations_url":"https://api.github.com/users/erickj/orgs","repos_url":"https://api.github.com/users/erickj/repos","events_url":"https://api.github.com/users/erickj/events{/privacy}","received_events_url":"https://api.github.com/users/erickj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-05T11:41:55Z","updated_at":"2018-02-11T02:24:43Z","closed_at":null,"author_association":"NONE","body":"The FAQ at https://blog.bazel.build/2017/02/27/protocol-buffers.html has a broken recommendation regarding well known protos.\r\n\r\nIt says:\r\n\r\n\"Q: How does one use well-known types? (e.g., any.proto, descriptor.proto)\r\nA: Once google/protobuf#2763 is resolved, the following should be added to a .proto file: import google/protobuf/any.proto and the following: @com_google_protobuf//:well_known_types_protos to one's proto_library rule.\"\r\n\r\nHowever, with bazel 0.8.0 and a fresh clone of https://github.com/cgrushko/proto_library the referenced target does not exist:\r\n\r\n```\r\n$ bazel query @com_google_protobuf//:well_known_types_protos\r\nERROR: no such target '@com_google_protobuf//:well_known_types_protos': target 'well_known_types_protos' not declared in package '' defined by /home/erick/.cache/bazel/_bazel_erick/b1f9fa8319238652d95ee6d19999542c/external/com_google_protobuf/BUILD\r\n```\r\n\r\nI've sent a PR to close https://github.com/cgrushko/proto_library/issues/10 - but the blog post should be updated with information that works with the cgrushko/proto_library repo"},"comment":{"url":"https://api.github.com/repos/bazelbuild/bazel-blog/issues/comments/364713705","html_url":"https://github.com/bazelbuild/bazel-blog/issues/56#issuecomment-364713705","issue_url":"https://api.github.com/repos/bazelbuild/bazel-blog/issues/56","id":364713705,"user":{"login":"jin","id":347918,"avatar_url":"https://avatars2.githubusercontent.com/u/347918?v=4","gravatar_id":"","url":"https://api.github.com/users/jin","html_url":"https://github.com/jin","followers_url":"https://api.github.com/users/jin/followers","following_url":"https://api.github.com/users/jin/following{/other_user}","gists_url":"https://api.github.com/users/jin/gists{/gist_id}","starred_url":"https://api.github.com/users/jin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jin/subscriptions","organizations_url":"https://api.github.com/users/jin/orgs","repos_url":"https://api.github.com/users/jin/repos","events_url":"https://api.github.com/users/jin/events{/privacy}","received_events_url":"https://api.github.com/users/jin/received_events","type":"User","site_admin":false},"created_at":"2018-02-11T02:24:43Z","updated_at":"2018-02-11T02:24:43Z","author_association":"MEMBER","body":"@cgrushko did #60 address this?"}}
{"actor":{"display_login":"jin"}}