jensbuehl / aoe4-guides

Source code for aoe4guides.com: Yet another Age of Empires IV build order tool
https://aoe4guides.com
MIT License
18 stars 7 forks source link

Replace "IN" API with something else #58

Closed jensbuehl closed 1 year ago

jensbuehl commented 1 year ago

Reason: Firestore limitation Example: ID "IN" Favorites is limited to only 10 elements in the lookup.

Rewrite get favorites. Inspiration here: https://stackoverflow.com/questions/46721517/google-firestore-how-to-get-several-documents-by-multiple-ids-in-one-round-tri

jensbuehl commented 1 year ago

For some reason it is working now with even 20+ items. Let's keep an eye on it.

jensbuehl commented 1 year ago

Most likely the API constraints got removed, it works smoothly. Closed for now. Let's re-open if issues re-appear.