vky5 / onspot

blogs
https://blacktree.vercel.app
5 stars 3 forks source link

Polpulating Models on deletion operation in the backend #15

Open Semicile17 opened 3 weeks ago

Semicile17 commented 3 weeks ago

Screenshot from 2024-10-26 23-46-46 Screenshot from 2024-10-26 23-47-16

I noticed here that whenever there's a deletion query , this pre hook will run . This goes against the required functionality of this hook . Data shouldn't be populated when you're doing deletion .

assign this issue to me under hacktoberfest2024

I'll fix the issue and submit a PR .

vky5 commented 3 weeks ago

Good luck