LCP relies on URI templates for LSD operations, and soon Publication Services will need them as well.
Unfortunately, the implementation is subpar in both Swift and Kotlin toolkits.
The URI Template specification being quite complex, it might be worth adding an external dependency for this, instead of implementing it ourselves. We need to make sure the dependency is at least being tested using the official test suite.
Alternatively, we could support only a subset of the specification, which would be much more manageable. But it depends on the usage made of Link objects.
LCP relies on URI templates for LSD operations, and soon Publication Services will need them as well.
Unfortunately, the implementation is subpar in both Swift and Kotlin toolkits.
The URI Template specification being quite complex, it might be worth adding an external dependency for this, instead of implementing it ourselves. We need to make sure the dependency is at least being tested using the official test suite.
Alternatively, we could support only a subset of the specification, which would be much more manageable. But it depends on the usage made of Link objects.