Recent Activity
Here's what @memsbdm has been up to this past year
-
Anniversary Thanks for being an Acocasts member for 1 year
-
Completed lesson Testing with Lucid Model Factories
-
Completed lesson Meet the API Client
-
Completed lesson Testing a Simple Service
-
Completed lesson Testing Async Code & Exceptions
-
Completed lesson Our First Test
-
Upvoted comment Hi @memsbdm! Good question, and you have a few options! You ...
-
Replied to Hi @memsbdm! Good question, and you have a few options! You ...
Thanks for all these ideas!
Before seeing that I added this to the DTO to avoid multiple calls when we didn't need the image :
async preloadImage() {if (this.imageKey) {
this.imageUrl = await drive.use('r2').getUrl(this.imageKey)
}
}
I saw a few times the "presenter" term and didn't really look at it, now that I checked this is clearly what I need so I'll change the DTO architecture for that! -
Commented on post Uploading and Displaying User Avatars
Hi Tom,
Quick question concerning storage on a cloud provider. In an inertia action/dto architecture, where is the best place to get the complete url from drive ?
I can get it in DTO constructor but it would transform it to an async controller and it is annoying to have multiple async ones… I thought about maybe a Lucid model hook but I'm not sure it is a good place or not! -
Replied to Hey @tomgobich, When I import import Sortable from 'vuedraggable'...
https://github.com/SortableJS/vue.draggable.next/issues/286 solved the issue :)
-
Completed lesson AdonisJS User Role Authentication in 15 Minutes
-
Commented on post Querying & Listing Sortable Course Modules
Hey @tomgobich,
When I importimport Sortable from 'vuedraggable'I keep getting this error :
[Error] TypeError: undefined is not a constructor (evaluating 'new RefImpl(rawValue, shallow)')I am using the same version "vuedraggable": "^4.1.0"
I need to delete cache even after removing it cause it sticks to the project. Any idea why?