Skip to content

🏷 Allow 64-bit Integer arguments#675

Merged
nevans merged 1 commit intomasterfrom
allow-number64-arguments
May 8, 2026
Merged

🏷 Allow 64-bit Integer arguments#675
nevans merged 1 commit intomasterfrom
allow-number64-arguments

Conversation

@nevans
Copy link
Copy Markdown
Collaborator

@nevans nevans commented May 8, 2026

Previously, integer arguments had to be 32-bit unsigned, and a special case exception was made for the number in a ["CHANGEDSINCE", number] array. But several other command arguments can be larger: UNCHANGEDSINCE, quota resource-limit, and tagged-ext-simple.

So, generic Integer arguments should allow 64 bit numbers. We can add specific argument validation where it makes sense to do so.

Note: I didn't use ensure_mod_sequence_valzer because I wanted more appropriate error messages for the generic argument case.

Previously, integer arguments had to be 32-bit unsigned, and a special
case exception was made for the number in a `["CHANGEDSINCE", number]`
array.  But several other command arguments can be larger:
`UNCHANGEDSINCE`, quota `resource-limit`, and `tagged-ext-simple`.

So, generic Integer arguments should allow 64 bit numbers.  We can add
specific argument validation where it makes sense to do so.
@nevans nevans force-pushed the allow-number64-arguments branch from 35d6f94 to aae3178 Compare May 8, 2026 21:47
@nevans nevans merged commit 5c213ab into master May 8, 2026
39 checks passed
@nevans nevans deleted the allow-number64-arguments branch May 8, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant