Meteor-Community-Packages / Meteor-Community-Packages/ground-db

Conflict of template level subscriptions and ground:db

Open
#100 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
569
Forks
77
PR merge metrics
No merged PRs in 30d

Description

Tested Sacha's article "Meteor Pattern: Template-Level Subscriptions" (see https://www.discovermeteor.com/blog/template-level-subscriptions/) and the linked repo: http://meteorpad.com/pad/6t8wLBiGYmg7cee5t/Template-Level%20Subs%20v2. Figured when you add ground:db to the project, it causes infinite subscribe/publish loops. This is caused by ground:db - just added to the project, without using it, i.e. without grounding any collection.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the linked Meteor Pattern template-level subscription example from the MeteorPad project. Add ground:db without grounding a collection, then trace the subscribe/publish activity to locate the infinite loop; done means the dependency can be added without the loop.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.