Skip to content

loadRelations new (broken?) behaviour from angular-data 1.4.3+ #293

@zontafil

Description

@zontafil

hello,

I have a one-to-many relationship in my project: one category, multiple videos.
In angular-data 1.4.2, I'm doing something like this:

  VideoModel.findAll().then(function(vids){
     vids.forEach(function(vid){
        VideoModel.loadRelations(vid,['category']);
     });
  });

category model in videos is populated AND videos array in category is populated.

Starting from 1.4.3 videos array in category is not filled anymore.
Is it a correct behaviour?

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