Custom disk driver for "Cloudinary" #3659
Replies: 2 comments 1 reply
-
You can just ignore the data returned by cloudinary and do not return it from your implementation.
This is the privacy of the uploaded file on Cloudinary itself. If |
Beta Was this translation helpful? Give feedback.
-
https://github.com/adonisjs/bodyparser/blob/2bc5652fc7291ef10cef806cfa48bb10891fe7d6/src/Multipart/File.ts#L238 and https://github.com/adonisjs/bodyparser/blob/2bc5652fc7291ef10cef806cfa48bb10891fe7d6/src/Multipart/File.ts#L248 took 2 days of my coworker @msrumon to finally figure out to not use To the maintainers: please make it more flexible and allow us to use customized "key" of ourselves. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm struggling to write custom disk driver for Cloudinary. In the doc, it says that every driver must implement
DriverContract
interface, but some of the APIs are "technically incompatible" with the upstream vendor. For example,put
method has been implemented to not return anything, butcloudinary
SDK returns the data of the uploaded image/video. Another thing: what shouldvisibility
be of the images/videos hosted in Cloudinary? Is it considered with respect to Cloudinary itself or to the application?Beta Was this translation helpful? Give feedback.
All reactions