Skip to content

fix: preserve positional arguments in the regenerated PHP SDK - #37

Merged
mekilis merged 2 commits into
mainfrom
smart/php-batch-retry-compat
Nov 30, 2026
Merged

mekilis merged 2 commits into
mainfrom
smart/php-batch-retry-compat

Conversation

@mekilis

@mekilis mekilis commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Supersedes #35 and #36. The regenerated client inserted optional filters before existing positional arguments. An existing batch retry call could therefore send its cursor and page size as filters.

Preserve the released argument positions in all six affected operations and append new filters after the old signature. Apply the same ordering after future regeneration and to the client's internal forwarding calls.

Tested with the PHP suite in a network-disabled container. Mock HTTP regressions verify the synchronous and asynchronous legacy calls send the original cursor and page size as query parameters. Both regressions fail against the uncorrected generated client.

@mekilis
mekilis merged commit c3a4644 into main Nov 30, 2026
1 check passed
@mekilis
mekilis deleted the smart/php-batch-retry-compat branch November 30, 2026 10:52
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