Open fbjorn opened 6 months ago
My expectation for that function match yours, so this seems like a possible bug to me.
This part of the codebase is fully auto-generated, however, so the bug wouldn't be with in this client library. I opened an issue with the backend team to get more information
Hi,
I'm trying to list composite indexes within a specific collection. Documentation for
ListIndexesRequest
says:And since
parent
expects a collection id at the end, I assume it should return indexes only within this collection, however it's listing ALL indexes of my database.I just don't understand if it's an expected behavior, or a bug. If you have a suggestion how I can achieve it, I would appreciate some help.
Environment details
google-cloud-firestore
version: 2.12.0Code example
If I run this function with
path="projects/<>/databases/(default)/collectionGroups/fooBar"
, I'll get these (project name obfuscated):As you can see, indexes from another collection are still in the response.
Thanks!