{"action":"opened","issue":{"url":"https://api.github.com/repos/AgilionApps/ja_serializer/issues/189","repository_url":"https://api.github.com/repos/AgilionApps/ja_serializer","labels_url":"https://api.github.com/repos/AgilionApps/ja_serializer/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/AgilionApps/ja_serializer/issues/189/comments","events_url":"https://api.github.com/repos/AgilionApps/ja_serializer/issues/189/events","html_url":"https://github.com/AgilionApps/ja_serializer/issues/189","id":184491727,"number":189,"title":"warning: Elixir.XYI.AddressSerializer.format/3 is deprecated.","user":{"login":"OpakAlex","id":1227774,"avatar_url":"https://avatars.githubusercontent.com/u/1227774?v=3","gravatar_id":"","url":"https://api.github.com/users/OpakAlex","html_url":"https://github.com/OpakAlex","followers_url":"https://api.github.com/users/OpakAlex/followers","following_url":"https://api.github.com/users/OpakAlex/following{/other_user}","gists_url":"https://api.github.com/users/OpakAlex/gists{/gist_id}","starred_url":"https://api.github.com/users/OpakAlex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpakAlex/subscriptions","organizations_url":"https://api.github.com/users/OpakAlex/orgs","repos_url":"https://api.github.com/users/OpakAlex/repos","events_url":"https://api.github.com/users/OpakAlex/events{/privacy}","received_events_url":"https://api.github.com/users/OpakAlex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-21T13:57:50Z","updated_at":"2016-10-21T13:57:50Z","closed_at":null,"body":"Here is the best fix for this stupid (fuck so stupid) warning:\r\n```\r\ndefmodule XYI.AddressView do\r\n  use XYI.Web, :view\r\n\r\n  alias XYI.AddressSerializer\r\n\r\n  def render(\"address.json\", %{address: address}) do\r\n    JaSerializer.format(XYI.AddressSerializer, address, %{}, [])\r\n  end\r\nend\r\n```\r\n\r\n0 warnings.\r\n\r\nYou can not pass connection to serializer, because serializer just serialize you structure to json, why it needs connection? For make twitts i hope!\r\n\r\nEnjoy guys! More stupid deprications and warning makes this world better.\r\n\r\nPS: You can not delete issues on Github :)))"}}
{"actor":{"display_login":"OpakAlex"}}