Store HarmonyRelease
URL properties as string
instead of URL
#83
Labels
HarmonyRelease
URL properties as string
instead of URL
#83
I am considering to abandon using the
URL
type for properties ofHarmonyRelease
in favor of plain strings, which are easier to handle in a number of scenarios:URL
property may silently turn intostring
properties when they are rendered on the client-sideURL
is not)structuredClone
during mergingThe main disadvantes which I see are:
URL
from the string again to use e.g. the domainThis should affect external links, API links and image URLs only.
Please let me know if you see any other potential downsides or have alternative ideas.
The text was updated successfully, but these errors were encountered: