loopback-connector-rest
loopback-connector-rest copied to clipboard
Allow hyphen seperated template variables
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
- [ ] DCO (Developer Certificate of Origin) signed in all commits
- [x]
npm testpasses on your machine - [ ] New tests added or existing tests modified to cover all changes
- [ ] Code conforms with the style guide
- [ ] Commit messages are following our guidelines
@raymondfeng, do we intend to support - in the template variables?