You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just had a look at Data::HAL, and it seems they are using URI::Template to create a namespacemap using, so that e.g. http://example.org/foo/{bar} becomes a pair
bar=>'http://example.org/foo/'
and I figured this would a reasonable heuristic to add as a coercion to Types::Namespace, which I maintain. But then, I figured, it might be a nicer if URI::Template had a method that could do that. So that the coercion I add simply takes the result of that method and gives it to URI::NamespaceMap's add_mapping method
So, that'd be my feature suggestion :-)
The text was updated successfully, but these errors were encountered:
I just had a look at Data::HAL, and it seems they are using URI::Template to create a namespacemap using, so that e.g.
http://example.org/foo/{bar}
becomes a pairand I figured this would a reasonable heuristic to add as a coercion to Types::Namespace, which I maintain. But then, I figured, it might be a nicer if URI::Template had a method that could do that. So that the coercion I add simply takes the result of that method and gives it to URI::NamespaceMap's add_mapping method
So, that'd be my feature suggestion :-)
The text was updated successfully, but these errors were encountered: