Giter VIP home page Giter VIP logo

Comments (4)

Judahmeek avatar Judahmeek commented on July 17, 2024

@kenny-house Are you still available for this?

from react-s3-uploader.

kenny-house avatar kenny-house commented on July 17, 2024

Hey @Judahmeek, it's been a while since I've been working with this library very much.

I'd be happy to revisit this issue, but It will probably be a little while before I'll have availability to dive into it.

from react-s3-uploader.

techwes avatar techwes commented on July 17, 2024

I am also interested in this since I ran into an error where the S3 Service Object that the S3 router was constructing was not picking up my credentials for some reason. Once I passed both my access keys it worked. So right now I had to implement the server side signing on my own but I would love to be able to use both parts of this library.

Unless @kenny-house got some time he didnt expect, I will try to get a PR up for this soon.

from react-s3-uploader.

techwes avatar techwes commented on July 17, 2024

I was actually about to work on this but realized I had a slightly different idea then @kenny-house and wanted to implement something that helps us all. As I see it there are 3 options of things we could pass in via a new param:

  1. The configuration of S3 that gets passed directly to new aws.S3
  2. An already instantiated S3 Service Object
  3. A function that returns a new instantiated S3 Service Object

1 would work for the case @kenny-house described but I don't think it is as useful for testing as 2 would be (since you could pass in an entire mock). However with 2 we would change from instantiating S3 for each request to only instantiating once in the main function body. 3 allows a full mock and keeping the current behavior but is unnecessary if there is no issue with instantiating S3 once.

What do you think?

from react-s3-uploader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.