{"action":"closed","issue":{"url":"https://api.github.com/repos/goadesign/goa/issues/203","repository_url":"https://api.github.com/repos/goadesign/goa","labels_url":"https://api.github.com/repos/goadesign/goa/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/goadesign/goa/issues/203/comments","events_url":"https://api.github.com/repos/goadesign/goa/issues/203/events","html_url":"https://github.com/goadesign/goa/issues/203","id":128064774,"number":203,"title":"Default() on a payload member is not set in the context correctly","user":{"login":"arangamani","id":1133812,"avatar_url":"https://avatars.githubusercontent.com/u/1133812?v=3","gravatar_id":"","url":"https://api.github.com/users/arangamani","html_url":"https://github.com/arangamani","followers_url":"https://api.github.com/users/arangamani/followers","following_url":"https://api.github.com/users/arangamani/following{/other_user}","gists_url":"https://api.github.com/users/arangamani/gists{/gist_id}","starred_url":"https://api.github.com/users/arangamani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arangamani/subscriptions","organizations_url":"https://api.github.com/users/arangamani/orgs","repos_url":"https://api.github.com/users/arangamani/repos","events_url":"https://api.github.com/users/arangamani/events{/privacy}","received_events_url":"https://api.github.com/users/arangamani/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/goadesign/goa/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/goadesign/goa/milestones/1","html_url":"https://github.com/goadesign/goa/milestones/v1","labels_url":"https://api.github.com/repos/goadesign/goa/milestones/1/labels","id":1571984,"number":1,"title":"v1","description":"Initial stable release of goa.","creator":{"login":"raphael","id":36822,"avatar_url":"https://avatars.githubusercontent.com/u/36822?v=3","gravatar_id":"","url":"https://api.github.com/users/raphael","html_url":"https://github.com/raphael","followers_url":"https://api.github.com/users/raphael/followers","following_url":"https://api.github.com/users/raphael/following{/other_user}","gists_url":"https://api.github.com/users/raphael/gists{/gist_id}","starred_url":"https://api.github.com/users/raphael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphael/subscriptions","organizations_url":"https://api.github.com/users/raphael/orgs","repos_url":"https://api.github.com/users/raphael/repos","events_url":"https://api.github.com/users/raphael/events{/privacy}","received_events_url":"https://api.github.com/users/raphael/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":16,"state":"open","created_at":"2016-02-09T05:30:13Z","updated_at":"2016-04-06T03:17:22Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-01-22T02:01:19Z","updated_at":"2016-04-06T03:17:22Z","closed_at":"2016-04-06T03:17:22Z","body":"Having a default value on a member of a payload is expected to set a default value in the context but it seems to be simply ignored. Example:\r\n```go\r\nMember(\"debug\", Boolean, \"Whether to enable debugging\", func() {\r\n\tDefault(false)\r\n})\r\n```\r\nAlso in this case, I would expect that the member will not be a pointer though it is not a required member since it has a default value.\r\n"}}