Skip to content

loopback.createModel should call setup function #550

Closed

Description

@bajtos

This is needed to call setup from base models on inherited models.

Activity

  1. self-assigned this
    on Sep 9, 2014
  2. bajtos commented on Sep 9, 2014

    @bajtos
    MemberAuthor

    Possibly detecting the situation when setup was already called, so that it is not called twice.

  3. added this to the LoopBack 3.0 milestone on Nov 26, 2014
  4. bajtos commented on Jun 1, 2015

    @bajtos
    MemberAuthor

    On the second thought, I think this should be implemented by loopback-boot. The reason is that the setup function is typically defined by the model customization script in common/models/my-model.js, which is run by loopback-boot.

  5. bajtos commented on May 18, 2016

    @bajtos
    MemberAuthor
  6. removed this from the #Epic: LoopBack 3.0 milestone on May 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions