{"action":"closed","issue":{"url":"https://api.github.com/repos/slick/slick/issues/1184","labels_url":"https://api.github.com/repos/slick/slick/issues/1184/labels{/name}","comments_url":"https://api.github.com/repos/slick/slick/issues/1184/comments","events_url":"https://api.github.com/repos/slick/slick/issues/1184/events","html_url":"https://github.com/slick/slick/issues/1184","id":91262740,"number":1184,"title":"Codegen: Add a way to suspress the output of Table descriptions","user":{"login":"schmitch","id":1641401,"avatar_url":"https://avatars.githubusercontent.com/u/1641401?v=3","gravatar_id":"","url":"https://api.github.com/users/schmitch","html_url":"https://github.com/schmitch","followers_url":"https://api.github.com/users/schmitch/followers","following_url":"https://api.github.com/users/schmitch/following{/other_user}","gists_url":"https://api.github.com/users/schmitch/gists{/gist_id}","starred_url":"https://api.github.com/users/schmitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmitch/subscriptions","organizations_url":"https://api.github.com/users/schmitch/orgs","repos_url":"https://api.github.com/users/schmitch/repos","events_url":"https://api.github.com/users/schmitch/events{/privacy}","received_events_url":"https://api.github.com/users/schmitch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-26T14:17:45Z","updated_at":"2015-06-26T19:22:13Z","closed_at":"2015-06-26T19:22:13Z","body":"Currently I'm using slick only with raw queries, since it's really amazing against RawJDBC when it comes to case class mapping through GetResult.\r\nHowever inside of codegen there is no way to susspress table descriptions:\r\nhttps://github.com/slick/slick/blob/master/slick-codegen/src/main/scala/slick/codegen/AbstractSourceCodeGenerator.scala\r\n\r\nCurrently It's only possible to susspress ```GetResult``` but not the other way.\r\nHowever the other way would be great since that would keep my table file way more clean.\r\n\r\nCurrently there is an easy way to do that, however one problem remains which is not configurable.\r\n\r\nI could change the definitions to:\r\n\r\n```override def definitions = Seq[Def]( EntityType, PlainSqlMapper )```\r\n\r\nHowever it will always still add def schema which contains the TableDefinitions.\r\n\r\nAlso not sure why codegen has the schema method to create the schema, makes no sense to generate code from sql and then sql from code...\r\nEdit thats what I meant: https://github.com/slick/slick/blob/master/slick-codegen/src/main/scala/slick/codegen/AbstractSourceCodeGenerator.scala#L27-L37\r\n\r\nthat should definitly be configurable."}}