Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding file upload #423

Merged
merged 5 commits into from
Feb 8, 2024
Merged

adding file upload #423

merged 5 commits into from
Feb 8, 2024

Conversation

kaplanelad
Copy link
Contributor

@kaplanelad kaplanelad commented Feb 7, 2024

I am currently integrating file upload support into the framework. This enhancement incorporates strategic implementations inspired by the [Ruby Active Storage](https://guides.rubyonrails.org/active_storage_overview.html:

Out-of-the-box strategies:

Single: Designed for working exclusively with a single storage.
Mirror: Enables data mirroring across multiple stores, ensuring redundancy during file downloads.
Backup: Facilitates file backup across multiple storage locations.

Each strategy is implemented as a trait, empowering users to create their own custom strategies based on their specific needs.

@kaplanelad
Copy link
Contributor Author

@yinho999, this pull request combines your PR with my previous version. Thank you for the time you invested.

Let me know what you think

@yinho999
Copy link
Contributor

yinho999 commented Feb 7, 2024

@kaplanelad LGTM! Thanks for your hard work as well!

@yinho999
Copy link
Contributor

yinho999 commented Feb 7, 2024

@kaplanelad Should we include documentation for the storage features and detail each StorageBuilder setup from the objectstore crate? The configuration aspect could be perplexing for some developers, given that the object_storage configuration is not located within the config/*.yaml files but in src/app.rs. 🤔

@kaplanelad
Copy link
Contributor Author

@yinho999 yes sure,
I have some fixes that i want to do and then i'll add documentation. keep it to the end

@kaplanelad
Copy link
Contributor Author

@yinho999, I've included a documentation section. Could you please review it and share your feedback?

@yinho999
Copy link
Contributor

yinho999 commented Feb 7, 2024

@yinho999, I've included a documentation section. Could you please review it and share your feedback?

Totally detailed about the feature. LGTM!👍

@kaplanelad kaplanelad merged commit a15d354 into master Feb 8, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants