{"action":"opened","issue":{"url":"https://api.github.com/repos/metabase/metabase/issues/2205","repository_url":"https://api.github.com/repos/metabase/metabase","labels_url":"https://api.github.com/repos/metabase/metabase/issues/2205/labels{/name}","comments_url":"https://api.github.com/repos/metabase/metabase/issues/2205/comments","events_url":"https://api.github.com/repos/metabase/metabase/issues/2205/events","html_url":"https://github.com/metabase/metabase/issues/2205","id":142739667,"number":2205,"title":"Remove card `display` property validation on the server","user":{"login":"tlrobinson","id":18193,"avatar_url":"https://avatars.githubusercontent.com/u/18193?v=3","gravatar_id":"","url":"https://api.github.com/users/tlrobinson","html_url":"https://github.com/tlrobinson","followers_url":"https://api.github.com/users/tlrobinson/followers","following_url":"https://api.github.com/users/tlrobinson/following{/other_user}","gists_url":"https://api.github.com/users/tlrobinson/gists{/gist_id}","starred_url":"https://api.github.com/users/tlrobinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlrobinson/subscriptions","organizations_url":"https://api.github.com/users/tlrobinson/orgs","repos_url":"https://api.github.com/users/tlrobinson/repos","events_url":"https://api.github.com/users/tlrobinson/events{/privacy}","received_events_url":"https://api.github.com/users/tlrobinson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-22T18:33:50Z","updated_at":"2016-03-22T18:33:50Z","closed_at":null,"body":"It's now relatively easy to add new visualization types on the frontend, but the backend has a [hard-coded list of allowed `display` values](https://github.com/metabase/metabase/blob/master/src/metabase/models/card.clj#L11-L22). We should remove [that check](https://github.com/metabase/metabase/blob/master/src/metabase/api/card.clj#L22), but ensure we show an appropriate error if the user tries to load a card with an unknown `display` type."}}