Made an issue on file-upload if someone wants to t...
# orm-help
n
Made an issue on file-upload if someone wants to tackle! https://github.com/prismagraphql/graphql-yoga/issues/392 The current example looks like this https://github.com/prismagraphql/graphql-yoga/blob/master/examples/file-upload/index.ts It's not beginner friendly code at all, the other thing it's not using the eco-system(prisma database schema and prisma bindings).
🙏 1
h
Because its related to
graphql-yoga
which is graphql server and can be used with anything you want?
If you want something regarding files and prisma you have too look to different place 🙂 https://github.com/prismagraphql/prisma/tree/master/examples/archive/file-handling-s3
👍 1
n
Is there an example without aws s3
h
You can use anything you wan, what is problem with s3?
You can use file system and store path to file for example, but its not good idea to have examples like that because its useless for general purpose
n
@huv1k The last example that you mentioned file system and store path to a file. Do you have an example on that?
h
Nope, because its useless in real world
👍 1
n
Hehe
h
Its better to use some existing infra, because you have catching edges etc
I can get behind that is good for beginners, but beginners should learn basics not file handling. File handling will come latter with better experiences and how to handle stuff like this proper way.
👍 2