File uploading in GraphQL API in Rails with ActiveStorage
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 #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper