File uploading in GraphQL API in Rails with ActiveStorage
07-Oct-2021 1646
ActiveStorage was launched with Rails 6.0 that is a built-in file manager for local, S3, or any other storage platforms. ActiveStorage own documentation is quite extensive to explain how it manages file uploads and how to call them.While working with GraphQL in Rails, there, arises a problem with uploading a file to the system. One way is to upload the file through REST API but what if we want solely in GraphQL then there is a gem to do that. ApolloUploadServer.
File uploading in GraphQL API in Rails with ActiveStorage #ruby #rubydeveloper #rubyonrails #uploading #GraphQL #Rails #ActiveStorage #activestorage #api https://rubyonrails.ba/link/file-uploading-in-graphql-api-in-rails-with-activestorage