This PR fixes a bug when enumerating the lease blobs. When hierarchical namespaces (HNS) are enabled for a storage account, the "List Blobs" API returns the folder itself as a "blob" in the response (in addition to the blobs themselves), which results in a NullReferenceException. This PR skips those blobs by checking for the internal hdi_isfolder metadata property.
This PR also includes a refactor of how projects/filters are done on top of paginated data.
This PR fixes a bug when enumerating the lease blobs. When hierarchical namespaces (HNS) are enabled for a storage account, the "List Blobs" API returns the folder itself as a "blob" in the response (in addition to the blobs themselves), which results in a
NullReferenceException
. This PR skips those blobs by checking for the internalhdi_isfolder
metadata property.This PR also includes a refactor of how projects/filters are done on top of paginated data.