Replies: 1 comment
-
Hey @iRaziul, thanks for the suggestion! I think if I built the package again from the ground up, I probably wouldn't add the But I think I might hold off on adding something like this because I'm still happy with the existing functionality. It's all personal preference, but I kinda like the fact that the If enough people think this is something worth looking at though, I'll definitely consider it! 🙂 |
Beta Was this translation helpful? Give feedback.
-
This package stores the full URL in the database (
default_short_url
) but I have a few thoughts.My idea is to drop that column and utilize
Accessor
(Dynamic attribute).Why?
short-url.prefix
is changed,default_short_url
for the existing links is not updated. (Same for the domain)So, utilizing the accessor we can return
default_short_url
from the model and the mentioned cases will be solved as well.Beta Was this translation helpful? Give feedback.
All reactions