Skip to content

Updating Docs for Using / Writing Components #580

@virkt25

Description

@virkt25

Overview

Mixins can do something useful for components being used in a LBNext application. An example is the RepositoryMixin which takes any repositories declared by a component and binds the repositoryClass to repositories.*. The mixin also binds any repositories declared by the Application in the constructor as well as using the sugar method app.repository().

Writing Components Docs & Using Component Docs need to be updated to show users how they can interact with Mixins (Repository mixin above is just used as an example!).

Acceptance Criteria

Note: Update on loopback.io instead

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions