loopback-connector
loopback-connector copied to clipboard
`Connector.prototype.isRelational` returns a function
Steps to reproduce
Call new Connector(/*...*/).isRelational()
Offending line:
https://github.com/loopbackio/loopback-connector/blob/e85797318c76890c387050c39e84e09cc83214a2/lib/connector.js#L36-L37
Current Behavior
It returns itself (a function), which then requires a 2nd call to get the expected boolean value.
Expected Behavior
Connector.prototype.isRelational should strictly return a boolean.
Link to reproduction sandbox
N/A
Additional information
Related Issues
See Reporting Issues for more tips on writing good issues