GenkitG
Genkitโ€ข14mo ago
dual-salmon

Firestore Retriever questions

I find the current Firebase plugin's Firestore retrievers do not meet my needs.

Data might not be in a single collection
Data might need to be scoped to only the user requesting it (easy enough /collection/${uid}/collection IF your collections are set up this way)
Data might be split across multiple collections belonging to the user requesting it
Data might be in root collections but contain a uid on the document that determines ownership, security rules, etc. and only that data should be used in the retrieval

Has anyone found ways to make this sort of thing work?
Was this page helpful?