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

Feature Request: Files and storage backend #10

Open
itsezc opened this issue Apr 29, 2022 · 0 comments
Open

Feature Request: Files and storage backend #10

itsezc opened this issue Apr 29, 2022 · 0 comments
Assignees
Labels
kind/enhancement Feature requests or enhancements to Alchemy
Projects

Comments

@itsezc
Copy link
Member

itsezc commented Apr 29, 2022

Is your proposal related to a problem?

Currently there is no easy way to handle file uploads via Alchemy.

Describe the solution you'd like

Storage backends

A storage backend for Alchemy needs to be implemented both on B2 and S3 allowing for the user to select the appropriate backend, file path; It should be possible to add multiple storage backends (even of the same type) i.e. accounts collection storing a profile picture on a S3 platform and orders collection storing an invoice PDF on a B2 platform while deliveries collection storing a shipping image on a different S3 platform.

Files

A scalar value for Files should be added to Alchemy that acts like an Object with the following properties:

type File {
        id: ID!
	name: String!
	url: String!
	created_at: DateTime!
}

The file should be uploaded and represented by this Scalar.

Describe alternatives you've considered

Not relevant

If the feature is approved, would you be willing to submit a PR?

Not relevant

@itsezc itsezc added the kind/enhancement Feature requests or enhancements to Alchemy label Apr 29, 2022
@itsezc itsezc added this to To do in Engine via automation Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Feature requests or enhancements to Alchemy
Projects
No open projects
Engine
To do
Development

No branches or pull requests

2 participants