Page MenuHomePhabricator

Evaluate url-template package for use in hyperswitch
Closed, DeclinedPublic

Description

Swagger-router provides a custom implementation of the URL Template, however alternatives exist that implement the same RFC. We need to evaluate the most widely used package https://www.npmjs.com/package/url-template for performance and features and attempt to replace our custom implementation with it.

Event Timeline

Pchelolo created this task.Apr 2 2019, 5:14 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 2 2019, 5:14 PM
mobrovac triaged this task as Normal priority.Apr 3 2019, 3:18 PM
Pchelolo lowered the priority of this task from Normal to Low.Jul 16 2019, 7:22 PM
Pchelolo lowered the priority of this task from Low to Lowest.Jul 17 2019, 8:21 PM
Pchelolo closed this task as Declined.Wed, Jul 31, 8:44 PM

I have evaluated the library, and it's a good piece of software, but currently, the URI templating functionality supported/required by HyperSwitch and RESTBase is too different from what the library provides. I don't believe using the library would worth the investment.