{"action":"closed","issue":{"url":"https://api.github.com/repos/tlaitinen/yesod-dsl/issues/36","labels_url":"https://api.github.com/repos/tlaitinen/yesod-dsl/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/tlaitinen/yesod-dsl/issues/36/comments","events_url":"https://api.github.com/repos/tlaitinen/yesod-dsl/issues/36/events","html_url":"https://github.com/tlaitinen/yesod-dsl/issues/36","id":118076320,"number":36,"title":"Duplicate Instance Declarations","user":{"login":"jjmias","id":6393509,"avatar_url":"https://avatars.githubusercontent.com/u/6393509?v=3","gravatar_id":"","url":"https://api.github.com/users/jjmias","html_url":"https://github.com/jjmias","followers_url":"https://api.github.com/users/jjmias/followers","following_url":"https://api.github.com/users/jjmias/following{/other_user}","gists_url":"https://api.github.com/users/jjmias/gists{/gist_id}","starred_url":"https://api.github.com/users/jjmias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjmias/subscriptions","organizations_url":"https://api.github.com/users/jjmias/orgs","repos_url":"https://api.github.com/users/jjmias/repos","events_url":"https://api.github.com/users/jjmias/events{/privacy}","received_events_url":"https://api.github.com/users/jjmias/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-20T16:28:39Z","updated_at":"2015-11-23T09:32:18Z","closed_at":"2015-11-23T09:32:17Z","body":"Hello,\r\n\r\nWe are getting the following error when building.\r\n\r\n```\r\nHandler/Api/Internal.hs:200:10:\r\n        Duplicate instance declarations:\r\n          instance FromJSON Day -- Defined at Handler/Api/Internal.hs:200:10\r\n          instance FromJSON Day\r\n            -- Defined in ‘aeson-extra-0.2.2.0:Data.Aeson.Compat’\r\n```\r\n\r\nThis is related to https://github.com/yesodweb/persistent/issues/180.\r\n\r\nA little about our setup is that we use stack and are building to the lts-3.14 snapshot.  We would go down a couple snapshots, but we require one of the later snapshots because we also use keter.  We haven't yet figured out what the oldest snapshot we could use would be to get all of our functionality to work.\r\n\r\nWe really appreciate this library!\r\n\r\nUpdate - This has to do with the 0.2.2.0 version of aeson-extra.  Building to snapshot lts-3.13 worked and that had aeson-extra-0.2.1.0.  \r\n\r\nWith that being said I would like to turn this into an enhancement request that we support stack and put this into a snapshot."}}