question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't get SyntheticMutation to work

See original GitHub issue

We have a publication with a custom channel and it’s working well without SyntheticMutation, on both server and client.

When we replace this: self.collection.update({_id:to},{$push:{messages:message}},{channel:channel});

With either SyntheticMutation(channel).update({_id:to},{$push:{messages:message}}) Or SyntheticMutation(self.collection.update).update({_id:to},{$push:{messages:message}},{channel:channel})

The client doesn’t get the data anymore.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
ramezraflacommented, Nov 28, 2016

Beautiful! SyntheticMutation is indeed a game-changer! As a wise man said in the readme: “Bounded by your imagination” 😃

0reactions
ramezraflacommented, Nov 29, 2016

Sorry, misunderstood when you closed this issue. Is there a way right now to add element to an array? I understood from prior message that there is not.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Synthetic lethality: General principles, utility and detection ...
Synthetic lethality occurs when the simultaneous perturbation of two genes results in cellular or organismal death. Synthetic lethality also ...
Read more >
How does gene therapy work?: MedlinePlus Genetics
Gene therapy works by altering the genetic code to recover the functions of critical proteins. Discover how this process works.
Read more >
The next frontier for synthetic lethality in cancer - Nature
The synthetic lethal approach indirectly targets loss-of-function mutations. The strategy is to target a second gene, one that is compensating for the loss...
Read more >
U.S. scientists are fixing genetic defects in human embryos ...
Congress and the National Institutes of Health have banned the use of federal funds for gene editing research in human embryos. But the...
Read more >
Best practices for variant calling in clinical sequencing
Benchmarking somatic mutation callers requires a reference “truth set” of real somatic mutations. Such datasets have been generated by synthetic ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found