DEV Community

Discussion on: File uploading in GraphQL API in Rails with ActiveStorage

Collapse
 
phawk profile image
Pete Hawkins

Hey Sulman, this is really helpful, in my current app using GraphQL I handled this by getting a presigned S3 URL and uploading from the client directly to S3. In the future I might take a look at refactoring this to use your approach and be more "The Rails Way".