meteor-astronomy: [v2] {children: true} for updates doesn't work

{children: true} works well for retrieval, but it doesn’t work for updates, my guess is it probably doesn’t work for deletes either. It works if you use native base meteor collection because it doesn’t understand inheritance anyway.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 19 (17 by maintainers)

Most upvoted comments

Ok pushed

The only one thing to implement is default value of the children option. Everything else is already on the v2 branch. So I don’t think that there is a need for creating another thread for that.

  1. Oh yes good idea to add the type field automatically. I will add that feature.
  2. I’m not quite sure about that one. I can agree that it might return all children automatically, so default would be children: true. However, I would still cast all children to their appropriate classes. I don’t want to cast it to parent class.