{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/dart-protoc-plugin/issues/51","labels_url":"https://api.github.com/repos/dart-lang/dart-protoc-plugin/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/dart-protoc-plugin/issues/51/comments","events_url":"https://api.github.com/repos/dart-lang/dart-protoc-plugin/issues/51/events","html_url":"https://github.com/dart-lang/dart-protoc-plugin/issues/51","id":111068428,"number":51,"title":"Add support for custom annotations (useful for reflectable)","user":{"login":"wienczny","id":301227,"avatar_url":"https://avatars.githubusercontent.com/u/301227?v=3","gravatar_id":"","url":"https://api.github.com/users/wienczny","html_url":"https://github.com/wienczny","followers_url":"https://api.github.com/users/wienczny/followers","following_url":"https://api.github.com/users/wienczny/following{/other_user}","gists_url":"https://api.github.com/users/wienczny/gists{/gist_id}","starred_url":"https://api.github.com/users/wienczny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wienczny/subscriptions","organizations_url":"https://api.github.com/users/wienczny/orgs","repos_url":"https://api.github.com/users/wienczny/repos","events_url":"https://api.github.com/users/wienczny/events{/privacy}","received_events_url":"https://api.github.com/users/wienczny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-12T22:33:14Z","updated_at":"2015-10-13T11:14:17Z","closed_at":null,"body":"This bug might be the second incarnation of #29. PolymerDart 1.0 switched to reflectable to almost replace mirrors. If you want to use protobuf elements in PolymerDart templates these have to be reflectable using the JsProxy. This is done by the ReflectableTransformer that requires annotations on custom classes.\r\nI would suggest adding support for custom annotations using the code generator."},"comment":{"url":"https://api.github.com/repos/dart-lang/dart-protoc-plugin/issues/comments/147685406","html_url":"https://github.com/dart-lang/dart-protoc-plugin/issues/51#issuecomment-147685406","issue_url":"https://api.github.com/repos/dart-lang/dart-protoc-plugin/issues/51","id":147685406,"user":{"login":"eernstg","id":9606994,"avatar_url":"https://avatars.githubusercontent.com/u/9606994?v=3","gravatar_id":"","url":"https://api.github.com/users/eernstg","html_url":"https://github.com/eernstg","followers_url":"https://api.github.com/users/eernstg/followers","following_url":"https://api.github.com/users/eernstg/following{/other_user}","gists_url":"https://api.github.com/users/eernstg/gists{/gist_id}","starred_url":"https://api.github.com/users/eernstg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eernstg/subscriptions","organizations_url":"https://api.github.com/users/eernstg/orgs","repos_url":"https://api.github.com/users/eernstg/repos","events_url":"https://api.github.com/users/eernstg/events{/privacy}","received_events_url":"https://api.github.com/users/eernstg/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T11:14:17Z","updated_at":"2015-10-13T11:14:17Z","body":"Clearly, the reflectable transformer should never generate code that fails to compile, so it is a bug. It would be great if you could create such a new issue on reflectable!\r\n\r\nAnother thing is that `@GlobalQuantifyCapability` must be located on the import of 'reflectable.dart' in order to have any effect, so you should move it a couple of lines up."}}