Invoke-PfbApiRequest -AutoPaginate loops while the response carries a continuation_token, with no running-total guard against $Limit. Purity//FB REST treats limit as page size and still returns a continuation token when more items exist, so Get-Pfb* -Limit 10 likely just sets the page size and then re-pages the entire collection — defeating the point of -Limit (cheaper queries, less data over the wire). Select-Object -First N does not help either: the end{} block runs pagination to completion before emitting.
Pure central fix in Private/Invoke-PfbApiRequest.ps1; no cmdlet-surface change. Independent of the centralized query-param work but touches the same function — sequence together.
Blocked on: nothing.
Owner: Justin - PR #48 filed with fix.
Invoke-PfbApiRequest -AutoPaginateloops while the response carries acontinuation_token, with no running-total guard against$Limit. Purity//FB REST treatslimitas page size and still returns a continuation token when more items exist, soGet-Pfb* -Limit 10likely just sets the page size and then re-pages the entire collection — defeating the point of-Limit(cheaper queries, less data over the wire).Select-Object -First Ndoes not help either: theend{}block runs pagination to completion before emitting.$allItems.Count -ge $Limit) and trim to$Limit-Limit)Pure central fix in
Private/Invoke-PfbApiRequest.ps1; no cmdlet-surface change. Independent of the centralized query-param work but touches the same function — sequence together.Blocked on: nothing.
Owner: Justin - PR #48 filed with fix.