{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-go/issues/284","labels_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/284/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/284/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/284/events","html_url":"https://github.com/aws/aws-sdk-go/issues/284","id":88781538,"number":284,"title":"`[]*Type` vs. `[]Type`","user":{"login":"drombosky","id":6884631,"avatar_url":"https://avatars.githubusercontent.com/u/6884631?v=3","gravatar_id":"","url":"https://api.github.com/users/drombosky","html_url":"https://github.com/drombosky","followers_url":"https://api.github.com/users/drombosky/followers","following_url":"https://api.github.com/users/drombosky/following{/other_user}","gists_url":"https://api.github.com/users/drombosky/gists{/gist_id}","starred_url":"https://api.github.com/users/drombosky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drombosky/subscriptions","organizations_url":"https://api.github.com/users/drombosky/orgs","repos_url":"https://api.github.com/users/drombosky/repos","events_url":"https://api.github.com/users/drombosky/events{/privacy}","received_events_url":"https://api.github.com/users/drombosky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-06-16T16:52:59Z","updated_at":"2015-08-06T06:32:01Z","closed_at":null,"body":"I was wondering if there is a technical reason to use slices of pointers (e.g., `[]*string`) rather than just slices (e.g., `[]string`). Passing around `[]*Type` feels a bit unnatural in Go and is forcing me to either propagate this typing convention or convert before AWS calls.\r\n\r\nI understand that pointers to scalers are required scalers are not nilable, but I am not sure why individual elements of a slice need to be nilable."},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-go/issues/comments/128265620","html_url":"https://github.com/aws/aws-sdk-go/issues/284#issuecomment-128265620","issue_url":"https://api.github.com/repos/aws/aws-sdk-go/issues/284","id":128265620,"user":{"login":"lsegal","id":686,"avatar_url":"https://avatars.githubusercontent.com/u/686?v=3","gravatar_id":"","url":"https://api.github.com/users/lsegal","html_url":"https://github.com/lsegal","followers_url":"https://api.github.com/users/lsegal/followers","following_url":"https://api.github.com/users/lsegal/following{/other_user}","gists_url":"https://api.github.com/users/lsegal/gists{/gist_id}","starred_url":"https://api.github.com/users/lsegal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsegal/subscriptions","organizations_url":"https://api.github.com/users/lsegal/orgs","repos_url":"https://api.github.com/users/lsegal/repos","events_url":"https://api.github.com/users/lsegal/events{/privacy}","received_events_url":"https://api.github.com/users/lsegal/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T06:32:01Z","updated_at":"2015-08-06T06:32:01Z","body":"> could you give an example of a service that could return sparse arrays; specifically where the existence of said null members is important information for the user?\r\n\r\n@conslo the Metadata field in the [`TrustedAdvisorCheckDescription` type](http://docs.aws.amazon.com/awssupport/latest/APIReference/API_TrustedAdvisorCheckDescription.html) in AWS Support API retrieves tabular-style column values in the response, some of which can be null. Omitting these values affects the output, and representing these values as empty strings may not be valid (in this specific case it might be, in a future case it might not). "}}