{"action":"created","issue":{"url":"https://api.github.com/repos/revel/cmd/issues/24","labels_url":"https://api.github.com/repos/revel/cmd/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/revel/cmd/issues/24/comments","events_url":"https://api.github.com/repos/revel/cmd/issues/24/events","html_url":"https://github.com/revel/cmd/pull/24","id":59865422,"number":24,"title":"Improve route generation warnings","user":{"login":"roblillack","id":37167,"avatar_url":"https://avatars.githubusercontent.com/u/37167?v=3","gravatar_id":"","url":"https://api.github.com/users/roblillack","html_url":"https://github.com/roblillack","followers_url":"https://api.github.com/users/roblillack/followers","following_url":"https://api.github.com/users/roblillack/following{/other_user}","gists_url":"https://api.github.com/users/roblillack/gists{/gist_id}","starred_url":"https://api.github.com/users/roblillack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblillack/subscriptions","organizations_url":"https://api.github.com/users/roblillack/orgs","repos_url":"https://api.github.com/users/roblillack/repos","events_url":"https://api.github.com/users/roblillack/events{/privacy}","received_events_url":"https://api.github.com/users/roblillack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-04T21:32:27Z","updated_at":"2015-03-04T21:38:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/revel/cmd/pulls/24","html_url":"https://github.com/revel/cmd/pull/24","diff_url":"https://github.com/revel/cmd/pull/24.diff","patch_url":"https://github.com/revel/cmd/pull/24.patch"},"body":"This pull request supersedes https://github.com/revel/revel/pull/854\r\n\r\nSteps to reproduce:\r\n* Add an Action which is using some internal type `blurb` as argument: `func (c Application) BadAction(format string, blurb ...interface{})` to one of your controllers.\r\n* `revel run`\r\n\r\nRevel will try to generate a `routes.go` file and spit out the following, meaningless error message:\r\n```\r\n2015/03/04 22:15:38 reflect.go:728: Failed to generate name for field. Make sure the field name is valid.\r\n```\r\n\r\nAfter applying this patch, the warning will give a hint to the user, where to look for this error:\r\n```\r\n2015/03/04 22:18:40 reflect.go:729: Failed to generate name for field. Make sure the field name is valid.\r\n2015/03/04 22:18:40 reflect.go:436: Didn't understand argument 'blurb' of action Application.BadAction. Ignoring.\r\n```\r\n\r\nIn addition, I _think_ the (original) warning message from line 729 in reflect.go can be removed, too."},"comment":{"url":"https://api.github.com/repos/revel/cmd/issues/comments/77254907","html_url":"https://github.com/revel/cmd/pull/24#issuecomment-77254907","issue_url":"https://api.github.com/repos/revel/cmd/issues/24","id":77254907,"user":{"login":"roblillack","id":37167,"avatar_url":"https://avatars.githubusercontent.com/u/37167?v=3","gravatar_id":"","url":"https://api.github.com/users/roblillack","html_url":"https://github.com/roblillack","followers_url":"https://api.github.com/users/roblillack/followers","following_url":"https://api.github.com/users/roblillack/following{/other_user}","gists_url":"https://api.github.com/users/roblillack/gists{/gist_id}","starred_url":"https://api.github.com/users/roblillack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblillack/subscriptions","organizations_url":"https://api.github.com/users/roblillack/orgs","repos_url":"https://api.github.com/users/roblillack/repos","events_url":"https://api.github.com/users/roblillack/events{/privacy}","received_events_url":"https://api.github.com/users/roblillack/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T21:38:29Z","updated_at":"2015-03-04T21:38:29Z","body":"I have no idea why this pull request wants to target revel:master and how to fix this. -.-"}}