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.

mergeReferences config

See original GitHub issue
Ok I got the issue.
It's happened when I try to add reference field in document.


My firebase settings was OK.

Updated Sample: https://stackblitz.com/edit/angular-fvaf5r

Please check and let me know. :)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:10

github_iconTop GitHub Comments

2reactions
fritzschoffcommented, Jul 9, 2020

I guess there are more then one way.

  • Maybe you want to update a new store (no entitiy store).
  • Maybe you want to update another enitityStore with the docRef.

For me, it seems the best way to let the user decide how to handle that docRef in the formatFormFirestore function. He can then run his own runEntityStoreAction or runStoreAction. Want you might can have, is a flag in the CollectionConfig that says if docRef is present, merge it in the store like you did in the screenshot. @CollectionConfig({ path: 'prodcuts', mergeReferences: true })

1reaction
fritzschoffcommented, Dec 23, 2020

@saifxx this feature will be available in 4.1.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Tool for Merging Reference Panels for HLA Imputation - PMC
MergeReference is a software package that merges multiple reference panels for HLA imputation. We assume that the panels are in SNP2HLA format [ ......
Read more >
Merging References into the Active Model
To change how levels are handled, click the Preferences icon ( File > Settings > User > Preferences ) and select the Reference...
Read more >
hyper-config/package.json at master · zerkalica/hyper-config · GitHub
JSON config wrapper with merge, references, string macroces and tagging - hyper-config/package.json at master · zerkalica/hyper-config.
Read more >
hyper-config - npm Package Health Analysis - Snyk
Config wrapper with merge, references, string macros, tagging, yml and json file loading, environment support For more information about how ...
Read more >
How do I merge references into my scene? - Maya
If that's the case you can open the reference editor (File > Reference Editor) select your renferenced objects and do a File >...
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