{"action":"created","issue":{"url":"https://api.github.com/repos/pushtorefresh/storio/issues/735","repository_url":"https://api.github.com/repos/pushtorefresh/storio","labels_url":"https://api.github.com/repos/pushtorefresh/storio/issues/735/labels{/name}","comments_url":"https://api.github.com/repos/pushtorefresh/storio/issues/735/comments","events_url":"https://api.github.com/repos/pushtorefresh/storio/issues/735/events","html_url":"https://github.com/pushtorefresh/storio/issues/735","id":194946549,"number":735,"title":"Auto generated GetResolver has constructor with wrong parameter order in Kotlin","user":{"login":"pbochenski","id":2960606,"avatar_url":"https://avatars.githubusercontent.com/u/2960606?v=3","gravatar_id":"","url":"https://api.github.com/users/pbochenski","html_url":"https://github.com/pbochenski","followers_url":"https://api.github.com/users/pbochenski/followers","following_url":"https://api.github.com/users/pbochenski/following{/other_user}","gists_url":"https://api.github.com/users/pbochenski/gists{/gist_id}","starred_url":"https://api.github.com/users/pbochenski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbochenski/subscriptions","organizations_url":"https://api.github.com/users/pbochenski/orgs","repos_url":"https://api.github.com/users/pbochenski/repos","events_url":"https://api.github.com/users/pbochenski/events{/privacy}","received_events_url":"https://api.github.com/users/pbochenski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-12-12T11:05:29Z","updated_at":"2016-12-17T13:16:23Z","closed_at":null,"body":"Reproduction steps: \r\n1. create class with more than two columns f.e.\r\n```kotlin\r\n@StorIOSQLiteType(table = \"CreditCard\")\r\ndata class CreditCard @StorIOSQLiteCreator constructor(\r\n        @get:StorIOSQLiteColumn(name = \"id\", key = true) val cardId: Long,\r\n        @get:StorIOSQLiteColumn(name = \"name\") val name: String,\r\n        @get:StorIOSQLiteColumn(name = \"expireYear\") val expireYear: Int,\r\n        @get:StorIOSQLiteColumn(name = \"expireMonth\") val expireMonth: Int,\r\n        @get:StorIOSQLiteColumn(name = \"type\") val type: String,\r\n        @get:StorIOSQLiteColumn(name = \"isDefault\") val isDefault: Boolean)\r\n```\r\n2. build project (couple of times if needed). \r\n\r\nThe reason for that is kapt (kotlins annotation processor, don't know about apt) does not process annotations in creation order.  "},"comment":{"url":"https://api.github.com/repos/pushtorefresh/storio/issues/comments/267762247","html_url":"https://github.com/pushtorefresh/storio/issues/735#issuecomment-267762247","issue_url":"https://api.github.com/repos/pushtorefresh/storio/issues/735","id":267762247,"user":{"login":"artem-zinnatullin","id":967132,"avatar_url":"https://avatars.githubusercontent.com/u/967132?v=3","gravatar_id":"","url":"https://api.github.com/users/artem-zinnatullin","html_url":"https://github.com/artem-zinnatullin","followers_url":"https://api.github.com/users/artem-zinnatullin/followers","following_url":"https://api.github.com/users/artem-zinnatullin/following{/other_user}","gists_url":"https://api.github.com/users/artem-zinnatullin/gists{/gist_id}","starred_url":"https://api.github.com/users/artem-zinnatullin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artem-zinnatullin/subscriptions","organizations_url":"https://api.github.com/users/artem-zinnatullin/orgs","repos_url":"https://api.github.com/users/artem-zinnatullin/repos","events_url":"https://api.github.com/users/artem-zinnatullin/events{/privacy}","received_events_url":"https://api.github.com/users/artem-zinnatullin/received_events","type":"User","site_admin":false},"created_at":"2016-12-17T13:16:23Z","updated_at":"2016-12-17T13:16:23Z","body":"Nice!"}}
{"actor":{"display_login":"artem-zinnatullin"}}