Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance of Angular? #131

Open
xeoncross opened this issue Jul 26, 2016 · 1 comment
Open

Performance of Angular? #131

xeoncross opened this issue Jul 26, 2016 · 1 comment

Comments

@xeoncross
Copy link

xeoncross commented Jul 26, 2016

Looking at the angular scope on a basic entity page with one relation it seems like the number of watchers continues to grow every second. Looking at the scope - it seems it continues to build nested id -> relation -> id - > relation scope until the browser crashes.

screen shot 2016-07-26 at 3 07 42 pm

My guess is that there is angular scope nesting without checks for duplication resulting in infinite chains of data relations.

You can see this in action with a basic two-entity relation:

People: {
    fields: {
      firstName: Fields.text("First name"),
      lastName: Fields.text("Last name"),
      groups: Fields.multiReference("Volunteer Groups", "VolunteerGroups"),
    },
    referenceName: 'lastName'
  },
  VolunteerGroups: {
    fields: {
      name: Fields.text("Group Name"),
      leaders: Fields.multiReference("Group Leaders", "People"),
    },
    referenceName: 'name'
  },
@nodesocket
Copy link

A PR would be greatly appreciated, but unfortunately I'm not sure this project is still being maintained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants