-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Labels
Description
Steps to reproduce
Call new Connector(/*...*/).isRelational()
Offending line:
loopback-connector/lib/connector.js
Lines 36 to 37 in e857973
return this.isRelational || | |
(this.getTypes().indexOf('rdbms') !== -1); |
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
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Icebox