{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-java/issues/4779","repository_url":"https://api.github.com/repos/realm/realm-java","labels_url":"https://api.github.com/repos/realm/realm-java/issues/4779/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/4779/comments","events_url":"https://api.github.com/repos/realm/realm-java/issues/4779/events","html_url":"https://github.com/realm/realm-java/pull/4779","id":235512977,"number":4779,"title":"Suppress warnings in generated code.","user":{"login":"bmeike","id":277848,"avatar_url":"https://avatars1.githubusercontent.com/u/277848?v=3","gravatar_id":"","url":"https://api.github.com/users/bmeike","html_url":"https://github.com/bmeike","followers_url":"https://api.github.com/users/bmeike/followers","following_url":"https://api.github.com/users/bmeike/following{/other_user}","gists_url":"https://api.github.com/users/bmeike/gists{/gist_id}","starred_url":"https://api.github.com/users/bmeike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmeike/subscriptions","organizations_url":"https://api.github.com/users/bmeike/orgs","repos_url":"https://api.github.com/users/bmeike/repos","events_url":"https://api.github.com/users/bmeike/events{/privacy}","received_events_url":"https://api.github.com/users/bmeike/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bmeike","id":277848,"avatar_url":"https://avatars1.githubusercontent.com/u/277848?v=3","gravatar_id":"","url":"https://api.github.com/users/bmeike","html_url":"https://github.com/bmeike","followers_url":"https://api.github.com/users/bmeike/followers","following_url":"https://api.github.com/users/bmeike/following{/other_user}","gists_url":"https://api.github.com/users/bmeike/gists{/gist_id}","starred_url":"https://api.github.com/users/bmeike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmeike/subscriptions","organizations_url":"https://api.github.com/users/bmeike/orgs","repos_url":"https://api.github.com/users/bmeike/repos","events_url":"https://api.github.com/users/bmeike/events{/privacy}","received_events_url":"https://api.github.com/users/bmeike/received_events","type":"User","site_admin":false},"assignees":[{"login":"bmeike","id":277848,"avatar_url":"https://avatars1.githubusercontent.com/u/277848?v=3","gravatar_id":"","url":"https://api.github.com/users/bmeike","html_url":"https://github.com/bmeike","followers_url":"https://api.github.com/users/bmeike/followers","following_url":"https://api.github.com/users/bmeike/following{/other_user}","gists_url":"https://api.github.com/users/bmeike/gists{/gist_id}","starred_url":"https://api.github.com/users/bmeike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmeike/subscriptions","organizations_url":"https://api.github.com/users/bmeike/orgs","repos_url":"https://api.github.com/users/bmeike/repos","events_url":"https://api.github.com/users/bmeike/events{/privacy}","received_events_url":"https://api.github.com/users/bmeike/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-06-13T10:48:45Z","updated_at":"2017-06-13T14:32:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/realm/realm-java/pulls/4779","html_url":"https://github.com/realm/realm-java/pull/4779","diff_url":"https://github.com/realm/realm-java/pull/4779.diff","patch_url":"https://github.com/realm/realm-java/pull/4779.patch"},"body":"There is no reason that generated code, in production, should ever generate a warning.\r\n\r\nWe may decide for any of a number of reasons, that we wish to generated code that would otherwise generate a warning.  We may also decide to pay attention to some warnings, an eliminate them.\r\n\r\nThe user, who can *never* do anything about warnings in the generated code, though, should never, ever see them."},"comment":{"url":"https://api.github.com/repos/realm/realm-java/issues/comments/308135884","html_url":"https://github.com/realm/realm-java/pull/4779#issuecomment-308135884","issue_url":"https://api.github.com/repos/realm/realm-java/issues/4779","id":308135884,"user":{"login":"cmelchior","id":406066,"avatar_url":"https://avatars0.githubusercontent.com/u/406066?v=3","gravatar_id":"","url":"https://api.github.com/users/cmelchior","html_url":"https://github.com/cmelchior","followers_url":"https://api.github.com/users/cmelchior/followers","following_url":"https://api.github.com/users/cmelchior/following{/other_user}","gists_url":"https://api.github.com/users/cmelchior/gists{/gist_id}","starred_url":"https://api.github.com/users/cmelchior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmelchior/subscriptions","organizations_url":"https://api.github.com/users/cmelchior/orgs","repos_url":"https://api.github.com/users/cmelchior/repos","events_url":"https://api.github.com/users/cmelchior/events{/privacy}","received_events_url":"https://api.github.com/users/cmelchior/received_events","type":"User","site_admin":false},"created_at":"2017-06-13T14:32:35Z","updated_at":"2017-06-13T14:32:35Z","body":"```\r\nrealm {\r\n    suppressWarnings = true\r\n}\r\n```\r\n\r\nWould require some way of sending options to an annotation processor. I don't know if that is possible. I kinda like the idea that you have to enable warnings instead of disabling them."}}
{"actor":{"display_login":"cmelchior"}}