Skip to content

mixinSource docs are wrong/misleading? #4

Closed
@doublemarked

Description

@doublemarked

Hey - we upgraded to loopback-boot@2.8.2 and changed our loopback-ds-readonly-mixin config to avoid the deprecation warning. After doing so, the mixin stopped working. I believe your docs are wrong - the mixin source needs to reference the lib subdir, like this:

    "mixins": [
      "loopback/common/mixins",
      "../node_modules/loopback-ds-readonly-mixin/lib",
      "../common/mixins"
    ]

Once we changed that the mixin started loading again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions