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

Question: Can the source be a collection group? #56

Closed
anishkny opened this issue Jun 23, 2020 · 1 comment
Closed

Question: Can the source be a collection group? #56

anishkny opened this issue Jun 23, 2020 · 1 comment

Comments

@anishkny
Copy link
Owner

Initially asked here by @devth.

I believe you should be able to get away with defining wildcard subcollections for rule.source.collection as defined here.

The value of rule.source.collection is used thus:

.document(`${rule.source.collection}/{masterId}`)

@devth
Copy link

devth commented Jun 23, 2020

@anishkny thank you! I will try this. And thanks for this awesome lib!

@anishkny anishkny closed this as completed Dec 2, 2020
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