Skip to content

Advanced populating? #42

@DeividasK

Description

@DeividasK

A question regarding populate with the following data structure:

actions: {
  actionId: {
    goalId: 'goalId1',
    done: false
  },
  actionId2: {
    goalId: 'goalId1',
    done: false
  }
}
goals: {
  goalId1: {
    text: 'Goal title'
  }
}

How would I go about populating goals with actions?

Conditions:

  • User has many goals
  • Goals have many actions
  • I want to display several goals with their actions

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions