{"action":"created","issue":{"url":"https://api.github.com/repos/awslabs/aws-mobile-appsync-sdk-ios/issues/122","repository_url":"https://api.github.com/repos/awslabs/aws-mobile-appsync-sdk-ios","labels_url":"https://api.github.com/repos/awslabs/aws-mobile-appsync-sdk-ios/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/aws-mobile-appsync-sdk-ios/issues/122/comments","events_url":"https://api.github.com/repos/awslabs/aws-mobile-appsync-sdk-ios/issues/122/events","html_url":"https://github.com/awslabs/aws-mobile-appsync-sdk-ios/issues/122","id":387531574,"node_id":"MDU6SXNzdWUzODc1MzE1NzQ=","number":122,"title":"S3 upload doesn't work","user":{"login":"nourahassan","id":537740,"node_id":"MDQ6VXNlcjUzNzc0MA==","avatar_url":"https://avatars3.githubusercontent.com/u/537740?v=4","gravatar_id":"","url":"https://api.github.com/users/nourahassan","html_url":"https://github.com/nourahassan","followers_url":"https://api.github.com/users/nourahassan/followers","following_url":"https://api.github.com/users/nourahassan/following{/other_user}","gists_url":"https://api.github.com/users/nourahassan/gists{/gist_id}","starred_url":"https://api.github.com/users/nourahassan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nourahassan/subscriptions","organizations_url":"https://api.github.com/users/nourahassan/orgs","repos_url":"https://api.github.com/users/nourahassan/repos","events_url":"https://api.github.com/users/nourahassan/events{/privacy}","received_events_url":"https://api.github.com/users/nourahassan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-04T23:53:12Z","updated_at":"2018-12-05T01:01:30Z","closed_at":null,"author_association":"NONE","body":"I followed the documentation here https://aws-amplify.github.io/docs/ios/storage#usage-with-graphql-apis-complex-objects\r\n\r\nFirst the code generated by `aws-appsync-codegen` has a compilation issue, it adds an extension to S3Object and  compiler complains it is not configured. There is no struct S3Object only S3ObjectInput.\r\n\r\nI commented this code:\r\n\r\n```\r\nextension S3Object: AWSS3ObjectProtocol {\r\n  public func getBucketName() -> String {\r\n      return bucket\r\n  }\r\n\r\n  public func getKeyName() -> String {\r\n      return key\r\n  }\r\n\r\n  public func getRegion() -> String {\r\n      return region\r\n  }\r\n}\r\n```\r\n\r\nThen when I create my Post with the file, it saves the post to dynamoDB but not the file to S3. And there is no single error?!!\r\n\r\nAnd I even added a breakpoint to created extension for AWSTransferUtilities created by the codegen and it is never called??\r\n \r\n - AppSync SDK Version: 2.7.0\r\n - Dependency Manager: Carthage\r\n - Swift Version : 4.1\r\n - Device:  Simulator\r\n - iOS Version: 12.1\r\n"},"comment":{"url":"https://api.github.com/repos/awslabs/aws-mobile-appsync-sdk-ios/issues/comments/444317990","html_url":"https://github.com/awslabs/aws-mobile-appsync-sdk-ios/issues/122#issuecomment-444317990","issue_url":"https://api.github.com/repos/awslabs/aws-mobile-appsync-sdk-ios/issues/122","id":444317990,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDMxNzk5MA==","user":{"login":"rohandubal","id":7157240,"node_id":"MDQ6VXNlcjcxNTcyNDA=","avatar_url":"https://avatars3.githubusercontent.com/u/7157240?v=4","gravatar_id":"","url":"https://api.github.com/users/rohandubal","html_url":"https://github.com/rohandubal","followers_url":"https://api.github.com/users/rohandubal/followers","following_url":"https://api.github.com/users/rohandubal/following{/other_user}","gists_url":"https://api.github.com/users/rohandubal/gists{/gist_id}","starred_url":"https://api.github.com/users/rohandubal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohandubal/subscriptions","organizations_url":"https://api.github.com/users/rohandubal/orgs","repos_url":"https://api.github.com/users/rohandubal/repos","events_url":"https://api.github.com/users/rohandubal/events{/privacy}","received_events_url":"https://api.github.com/users/rohandubal/received_events","type":"User","site_admin":false},"created_at":"2018-12-05T01:01:30Z","updated_at":"2018-12-05T01:01:30Z","author_association":"CONTRIBUTOR","body":"Hello @nourahassan \r\n\r\nSorry that you are having issues using the SDK.\r\n\r\nCould you please provide with the schema which you are using? I will try to put up a small sample which demonstrates this feature. You should not have to delete any generated code. \r\n\r\nThanks,\r\nRohan"}}
{"actor":{"display_login":"rohandubal"}}