loopback-next
loopback-next copied to clipboard
LoopBack makes it easy to build modern API applications that require complex integrations.
## Suggestion Add arguments `--tables` or `--models` to `lb4 discover` command. ## Use Cases I'm a new user to Loopback trying to create a REST API for two large existing...
## Steps to reproduce Create new lb4 app, then: Create model Foo ``` @model() export class Foo { @property() name?: string; @property({type: Bar}) bar?: Bar; constructor(data?: Partial) { } }...
## Steps to reproduce At https://github.com/strongloop/loopback-datasource-juggler/blob/master/types/datasource.d.ts, there is no definition for method setup, which is defined at: https://github.com/strongloop/loopback-datasource-juggler/blob/06428247ad1cc48bce82d135f795fb3eaae28b33/lib/datasource.js#L382 1. I create custom datasource `class MyDataSource which extends juggler.Datasource`. 2. I...
## Steps to reproduce ## Current Behavior My Field configuration ``` @property({ type: 'string', required: true, jsonSchema: { minLength: 2, transform: ['trim'], }, }) name: string; ``` `this.repository.create({ name: '...
## Steps to reproduce 1. Create spec enhancer, which add custom extension to `#/components/schemas` ```typescript @injectable(asSpecEnhancer, { scope: BindingScope.SINGLETON }) export class ComponentsSpecEnhancer implements OASEnhancer { name = 'components'; modifySpec(spec:...
## Suggestion From https://github.com/strongloop/loopback-next/issues/4738#issuecomment-698543534 Implement SAML passport strategy in the passport-login example. cc @pilare ## Use Cases User can login using SAML authentication. ## Examples same ^ ## Acceptance criteria...
I have a simple data source, whos config is loaded via injection: ``` export class MainDataSource extends juggler.DataSource implements LifeCycleObserver { static dataSourceName = 'Main'; constructor( @config() dsConfig: object, )...
On a project made with the cli npm start launch the following command: ` "start": "node -r source-map-support/register .",` This basically clean and build the full project and then start...
Currently the name of the collection is specified in the model, through the *setting* property of the *model* decorator. I have two repositories, one storing the current version of the...
At the moment, it is not possible to use `@param` shortcuts like `@param.query.string` to define a required parameter. One has to use `@param` directly (but don't have to specify the...