nodejs-storage icon indicating copy to clipboard operation
nodejs-storage copied to clipboard

chore(cleanup)!: Remove redundant callback types, move storage.ts to …

Open ddelgrosso1 opened this issue 1 year ago • 2 comments

…calling gaxios

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • [ ] Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • [ ] Ensure the tests and linter pass
  • [ ] Code coverage does not decrease (if any source code was changed)
  • [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

ddelgrosso1 avatar Apr 24 '24 18:04 ddelgrosso1

Gigantic WIP / PoC

ddelgrosso1 avatar Apr 24 '24 18:04 ddelgrosso1

IIUC the bulk of this PR is refactoring all the common options to "Storage-Transport" and wiring everything back together? If thats right, it would be helpful to add context in the StorageTransport docs.

Also, if this is the case, maybe create a seperate PR that introduces the concept of "storage-transport", and then the PRs after that can incrementally refactor specific files that need to be refactored (e.g. ACL, Bucket, HMAC, etc.)

Sort of. StorageTransport is replacing the mixture of transport level options and functionality that was spread across several files (Service, ServiceObject, util).

I think we are a bit too far past just introducing Storage Transport. I think at this point our best path forward is to merge this into the feature branch and then do as you suggest and work on each file / section individually.

ddelgrosso1 avatar Jun 17 '24 19:06 ddelgrosso1