fireproof-storage / fireproof

Realtime database, runs anywhere. Install Fireproof in your front-end app or edge function, and sync data via any backend.
https://fireproof.storage
Other
219 stars 16 forks source link

_files API should retain File name in uploads #70

Open jchris opened 5 months ago

jchris commented 5 months ago

Currently we discard the File object's name in favor of the document key. However I think we should just keep the name as additional metadata so we can make it available when the dev calls doc._files.myFile.file() -- that will be less surprising behavior in the round trip.