loopback-datasource-juggler
loopback-datasource-juggler copied to clipboard
Connect Loopback to various Data Sources
@bajtos [suggested to provide strongly typed context types based on the hook name](https://github.com/strongloop/loopback-datasource-juggler/pull/1820#discussion_r383908186). For example: ```ts export interface AccessHookContext { Model: T; query: Filter; } export type Listener = (ctx:...
I would like the connectors to leverage ES6 class inheritance. ## Acceptance criteria - [ ] Rework Connector and SqlConnector classes provided by loopback-connector to be implemented as ES6 classes....
I would like to allow connector authors to use async functions instead of the current callback style. ## Acceptance criteria - [ ] Define a new contract for connector: a...
I have relations setup with a model which includes a property similar to this: ``` versions: [ { id: String } ] ``` If the `versions` property is actually an...
# Steps to reproduce - [ ] bug I have auto discovered a SOAP 1.1 Webservice with `lb soap` and Loobback created models as expected. However when using the StrongLoop...
When working with scopes + default scope I realized a behavior that does not seem to be intended: Whenever you define a default scope, every `include` in this scope will...
Based on the discussion in https://github.com/strongloop/loopback/issues/1226, it may be useful to provide an operation hook triggered when the operation failed. This will allow hooks to clean up any temporary changes...
# Description/Steps to reproduce - define a model with `forceId: true` - associate this model to a mongodb data source - call the API to create a new model with...
Due to their embedded nature, these need to be treated differently.
See the discussion in #824. We were not able to remove deprecated model hooks because embedded relations are still relying on them. > There is a feature for `inst.triggerParent` in...