Skip to content

Misleading MaxResults documentation #2220

Open
@Gbd199

Description

@Gbd199

MaxResults is backed by a u32, but construting it from u32::MAX results in a server error.

<QueryParameterName>maxresults</QueryParameterName><QueryParameterValue>4294967295</QueryParameterValue><MinimumAllowed>-2147483648</MinimumAllowed><MaximumAllowed>2147483647</MaximumAllowed>

Seems like it should be backed by an i32 instead.

I will note that I'm pretty sure using u32::MAX worked just fine last week, so maybe this is a new enforcement on the server side.
But in any case, even if changing it to NonZeroI32 is a breaking change, the doc comment should reflect this.

Metadata

Metadata

Labels

ClientThis issue points to a problem in the data-plane of the library.StorageStorage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions