Skip to content

Rails middleware for using the apollo-fetch-upload npm package on the client.

License

Notifications You must be signed in to change notification settings

abeland/apollo_fetch_upload_rails_middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: This does not support batching!

Installation

Add this line to your application's Gemfile:

gem 'apollo_fetch_upload_rails_middleware'

And then do:

$ bundle install

Or install it yourself as:

$ gem install apollo_fetch_upload_rails_middleware

Usage

Using Railtie, this gem installs its middleware in your application. It will populate the GraphQL mutation inputs with the appropriate file metadata as described in the apollo-fetch-upload documentation.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/apollo_fetch_upload_rails_middleware.

License

The gem is available as open source under the terms of the MIT License.

About

Rails middleware for using the apollo-fetch-upload npm package on the client.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages