loopbackio / loopback-connector-rest

Connect Loopback to a REST API
http://loopback.io/doc/en/lb2/REST-connector.html
Other
75 stars 82 forks source link

Allow hyphen seperated template variables #157

Open YoannMourot opened 2 years ago

YoannMourot commented 2 years ago

Allowing template variables like ^foo-bar=barbar:string. This was causing an error Cannot initialize connector "rest": Cannot read property 'type' of undefined' at boot. https://regex101.com/r/HoCufm/1

Checklist

dhmlau commented 2 years ago

@raymondfeng, do we intend to support - in the template variables?